Broadcasting using XBee ZB modules generally gives you much less performance than sending a separate unicast for each node you want to talk to. This is because broadcasting works differently with XBee ZB modules than with XBee 802.15.4 modules.
When you send a broadcast with XBee 802.15.4 modules, one 802.15.4 port is sent to the network, and all nodes that can hear the transmission pick it up and send information from their serial UARTs. The 802.15.4 network is a simple star network, and implicit broadcast repetition is performed by any of the nodes in the network. With the XBee ZB, this is different. XBee ZB modules work in grid topology and need to be retransmitted to other nodes that go beyond the original transmission.
When you send a broadcast with XBee ZB modules, each node that receives the broadcast will re-broadcast it 3 times, resulting in a large amount of data being transmitted between the nodes. In addition, there can only be a certain number of transmissions that βliveβ on the network at any given time. This often surprises people when they think that the network discards their data when the XBee actually rejects the transfer request.
If you do not send data very rarely - perhaps broadcasting once a minute or more slowly - it is often best to follow this procedure:
- Created a list of all nodes by performing network discovery or collecting packets of route records by enabling the AR function
- Send unicast to each node you want to pass to
If you send information to the nodes of a large ZB network (i.e. more than 30 notes), you can read this article: Large Networks and Initial Routing
source share