Zigbee networks Router operation
Digi XBee® 3 Zigbee® RF Module
86
n PAN ID
n Operating channel
n Security policy and frame counter values
n Child table (end device children that are joined to the coordinator)
n Binding table
n Group table
The router retains this information indefinitely until it leaves the network. When the router leaves a
network, it loses the previous PAN ID, operating channel, and child table data.
Router joining
When the router powers on, if it is not already joined to a valid Zigbee network, it immediately
attempts to find and join a valid Zigbee network.
Set DJ (Disable Joining) to 1 to disable joining. You cannot write the DJ parameter with the WR
command, so a power cycle always clears the DJ setting.
The following commands control the router joining process.
Command Description
ID Sets the 64-bit PAN ID to join. Setting ID = 0 allows the router to join any 64-bit PAN ID.
SC Set the scan channels bitmask that determines which channels a router scans to find a
valid network. Set SC on the router to match SC on the coordinator. For example,
setting SC to 0x281 enables scanning on channels 11, 18 and 20, in that order.
SD
Set the scan duration, or time that the router listens for beacons on each channel.
ZS
Set the stack profile on the device.
EE Enable or disable security in the network. This must be set to match the EE value
(security policy) of the coordinator.
KY
Set the trust center link key. If set to 0 (default), the link key is expected to be obtained
(unencrypted) during joining.
EO If encryption is enabled (EE = 1), set the joining device's Encryption Options to match
the Encryption Options of the network.
Configuration changes delay the start of joining for five seconds after the last change.
Once the router joins a network, the network configuration settings and child table data persist
through power cycles as mentioned in Persistent data. If joining fails, read the status of the last join
attempt in the AI command register.
If any of the above command values change, when command register changes are applied (AC or CN
commands), the router leaves its current network and attempts to discover and join a new valid
network. When a Zigbee router has successfully joined a network, it:
n Allows other devices to join the network for a time
n Sets AI = 0
n Starts blinking the Associate LED
n Sends an API modem status frame (associated) out the serial port when using API mode