Digi International Inc XBEEPRO2 Manual Do Utilizador

Página de 155
XBee®/XBee‐PRO® ZB RF Modules 
© 2011 Digi International, Inc.
     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 4 times or issue the CB command with a parameter of 4.
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