75 void (*
recv)(
struct mesh_conn *c,
const linkaddr_t *from, uint8_t hops);
77 void (*
sent)(
struct mesh_conn *c);
83 struct multihop_conn multihop;
84 struct route_discovery_conn route_discovery_conn;
85 struct queuebuf *queued_data;
86 linkaddr_t queued_data_dest;
106 void mesh_open(
struct mesh_conn *c, uint16_t channels,
134 int mesh_send(
struct mesh_conn *c,
const linkaddr_t *dest);
int mesh_send(struct mesh_conn *c, const linkaddr_t *to)
Send a mesh packet.
void(* timedout)(struct mesh_conn *c)
Called when a packet, sent with mesh_send(), times out and is dropped.
void mesh_close(struct mesh_conn *c)
Close an mesh connection.
int mesh_ready(struct mesh_conn *c)
Test if mesh is ready to send a packet (or packet is queued)
Header file for the Rime queue buffer management
Header file for the Rime mesh routing protocol
void(* recv)(struct mesh_conn *c, const linkaddr_t *from, uint8_t hops)
Called when a packet is received.
void mesh_open(struct mesh_conn *c, uint16_t channels, const struct mesh_callbacks *callbacks)
Open a mesh connection.
Multihop forwarding header file
void(* sent)(struct mesh_conn *c)
Called when a packet, sent with mesh_send(), is actually transmitted.