User Manual

Table Of Contents
XBee®/XBeePRO®ZBRFModules
©2011DigiInternational,Inc. 44
Network Watchdog
The NW command (network watchdog timeout) can be used for a powered router to periodically check for
the presence of a coordinator to verify network connectivity. The NW command specifies a timeout in
minutes where the router must receive communication from the coordinator or data collector. The following
events restart the network watchdog timer:
•RF data received from the coordinator
•RF data sent to the coordinator and an acknowledgment was received
•Many-to-one route request was received (from any device)
•Changing the value of NW.
If the watchdog timer expires (no valid data received for NW time), the router will attempt to discover the
64-bit address of the coordinator. If the address cannot be discovered, the router records one watchdog
timeout. Once three consecutive network watchdog timeouts have expired (3 * NW) and the coordinator
has not responded to the address discovery attempts, the router will leave the network and attempt to join
a new network. Anytime a router receives valid data from the coordinator or data collector, it will clear the
watchdog timeouts counter and restart the watchdog timer. The watchdog timer (NW command) is settable
to several days. The network watchdog feature is disabled by default (NW defaults to 0).