Zigbee networks Router operation
Digi XBee® 3 Zigbee® RF Module
87
You can configure these behaviors using the following commands:
Command Description
NJ Sets the permit-join time on the router, or the time that it allows new devices to join
the network, measured in seconds. Set NJ = 0xFF to always enable permit joining.
D5
Enables the Associate LED functionality.
LT
Sets the Associate LED blink time when joined. The default is 2 blinks per second
(router).
Router network connectivity
Once a router joins a Zigbee network, it remains connected to the network on the same channel and
PAN ID unless it is forced to leave (see Leave a network). If the scan channels (SC), PAN ID (ID) and
security settings (EE, KY) do not change after a power cycle, the router remains connected to the
network after a power cycle.
If a router is physically moved out of range of the network it initially joined, make sure the application
includes provisions to detect if the router can still communicate with the original network. If
communication with the original network is lost, the application may choose to force the router to
leave the network. The XBee firmware includes two provisions to automatically detect the presence
of a network and leave if the check fails.
Power-On join verification
JV (Coordinator Join Verification) enables the power-on join verification check. If enabled, the XBee 3
Zigbee RF Module attempts to discover the 64-bit address of the coordinator when it first joins a
network. Once it has joined, it also attempts to discover the 64-bit address of the coordinator after a
power cycle event. If 3 discovery attempts fail, the router leaves the network and try to join a new
network. The default setting for Power-on join verification is disabled (JV defaults to 0).
Network watchdog
The NW(Network Watchdog Timeout) feature allows a powered router to verify the presence of a
coordinator if no communication events with the coordinator have occurred within a timeout period.
This timeout is specified in minutes using the NW command. The default setting for the network
watchdog feature is disabled (NW = 0) and can be configured for up to several days.
Anytime a router receives valid data from the coordinator or data collector, it clears the watchdog
timeouts counter and restarts the watchdog timer.
n RF data received from the coordinator
n RF data sent to the coordinator and an acknowledgment was received
n Many-to-one route request was received (from any device)
n Change the value of NW
If any of the events listed above occur during the watchdog period then no additional network traffic
will be generated. If the watchdog timer does expire (no valid data received for 1 NW time period), the
router attempts to initiate communication with the coordinator by sending an IEEE 64-bit address
discovery message to the coordinator. If the router cannot discover the address, it records one
watchdog timeout. After three consecutive network watchdog timeouts expire (3 * NW) and the
coordinator has not responded to the address discovery attempts, the router will enter one of three