The unicast module sends a packet to an identified single-hop neighbor.
The unicast primitive uses the broadcast primitive and adds the single-hop receiver address attribute to the outgoing packets. For incoming packets, the unicast module inspects the single-hop receiver address attribute and discards the packet if the address does not match the address of the node.
Channels
The unicast module uses 1 channel.
|
file | unicast.h |
| Header file for Rime's single-hop unicast
|
|
#define UNICAST_ATTRIBUTES |
Value:
#define BROADCAST_ATTRIBUTES
Definition: broadcast.h:73
Definition: packetbuf.h:378
#define PACKETBUF_ADDRSIZE
Definition: packetbuf.h:446