zigbee在广播时,比如协调器向所有终端广播,协调器广播的目标的网络地址是写一个就够了吗?然后所有的终端都用这个地址吗?网络地址是协调器分配的,貌似有点不合逻辑。求各位给我解释一下好吗?谢谢……
Susan Yang:
建议您参考协议栈的说明文档 Z-Stack Developer's Guide
NWK_BROADCAST_SHORTADDR_DEVALL (0xFFFF) – the message will be sent to all devices in the network (includes sleeping devices).
NWK_BROADCAST_SHORTADDR_DEVRXON (0xFFFD) – the message will be sent to all devices that have the receiver on when idle (RXONWHENIDLE). That is, all devices except sleeping devices.
NWK_BROADCAST_SHORTADDR_DEVZCZR (0xFFFC) – the message is sent to all routers (including the coordinator ).
Susan Yang:
回复 zibao zhou:
是的,是这样的。