71 struct broadcast_conn;
73 #define BROADCAST_ATTRIBUTES { PACKETBUF_ADDR_SENDER, PACKETBUF_ADDRSIZE }, \
82 void (*
recv)(
struct broadcast_conn *ptr,
const linkaddr_t *sender);
83 void (* sent)(
struct broadcast_conn *ptr,
int status,
int num_tx);
86 struct broadcast_conn {
Header file for the Rime module Anonymous BroadCast (abc)
void broadcast_close(struct broadcast_conn *c)
Close a broadcast connection.
void(* recv)(struct broadcast_conn *ptr, const linkaddr_t *sender)
Called when a packet has been received by the broadcast module.
Callback structure for broadcast.
int broadcast_send(struct broadcast_conn *c)
Send an identified best-effort broadcast packet.
void broadcast_open(struct broadcast_conn *c, uint16_t channel, const struct broadcast_callbacks *u)
Set up an identified best-effort broadcast connection.
Header file for the Rime address representation