XBee ZigBee networks Router operation
XBee/XBee-PRO ZigBee RF Modules User Guide 46
Leaving a network
There are a couple of mechanisms that will cause the router to leave its current PAN and attempt to discover and
join a new network based on its network joining parameter values.
These include the following:
Change the ID command such that the current 64-bit PAN ID is invalid.
Change the SC command such that the current channel (CH) is not included in the channel mask.
Change the ZS or any of the security command values.
Issue the NR0 command to cause the router to leave.
Issue the NR1 command to send a broadcast transmission, causing all devices in the network to leave and
migrate to a different channel.
Press the commissioning button four times or issue the CB command with a parameter of 4.
Issue a network leave command.
Note that changes to ID, SC, ZS, and security command values only take effect when changes are applied (AC or
CN commands).
Clear Network Watchdog Failure Count
Restart Network Watchdog Timer
Received RF
Communication from
Coordinator or Data
Collector
Yes
Network Watchdog
Timer Expired?
No
No
Discover Coordinator
Yes
Coordinator
Found?
Yes
Network Watchdog Failure
Count +=1
No
Network
Watchdog
Failure Count
=3 ?
Leave
Yes
No
Network Watchdog Behavior