Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想在 UnetStack 中实现一种机会路由协议,以将数据包传输到多个相邻节点。我该如何继续呢?
您可以将 PHY 帧传输到BROADCAST地址 ( 0)。默认地址为 0,因此不指定to地址是等效的。
BROADCAST
0
to
例子:
phy << new TxFrameReq(data: [1,2,3])
[1,2,3]将向所有邻居发送带有字节的帧。
[1,2,3]