I want to implement an opportunistic routing protocol in UnetStack to transmit a packet to more than one neighbor node. How can I proceed with that?
I want to implement an opportunistic routing protocol in UnetStack to transmit a packet to more than one neighbor node. How can I proceed with that?
You can transmit to PHY frame to the BROADCAST address (0). The default address is 0, so not specifying a to address is equivalent.
Example:
phy << new TxFrameReq(data: [1,2,3])
will transmit a frame with bytes [1,2,3] to all neighbors.