XBee ZigBee networks Coordinator operation
XBee/XBee-PRO ZigBee RF Modules User Guide 39
Persistent data
Once a coordinator has started a network, it retains the following information through power cycle or reset
events:
PAN ID
Operating channel
Security policy and frame counter values
Child table (end device children that are joined to the coordinator).
The coordinator will retain this information indefinitely until it leaves the network. When the coordinator leaves a
network and starts a new network, the previous PAN ID, operating channel, and child table data are lost.
XBee ZB Coordinator startup
The following commands control the coordinator network formation process.
Network formation commands used by the coordinator to form a network.
Once the coordinator starts a network, the network configuration settings and child table data persist through
power cycles as mentioned in Persistent data on page 39.
When the coordinator has successfully started a network, it
Allows other devices to join the network for a time (see NJ command)
Sets AI=0
Starts blinking the Associate LED
Sends an API modem status frame (“coordinator started”) out the UART (API firmware only)
These behaviors are configurable using the following commands:
Command Description
ID
Used to determine the 64-bit PAN ID. If set to 0 (default), a random 64-bit PAN ID will be selected.
SC
Determines the scan channels bitmask (up to 16 channels) used by the coordinator when forming a network.
The coordinator will perform an energy scan on all enabled SC channels. It will then perform a PAN ID scan and
then form the network on one of the SC channels.
SD
Set the scan duration period. This value determines how long the coordinator performs an energy scan or PAN
ID scan on a given channel.
ZS
Set the ZigBee stack profile for the network.
EE
Enable or disable security in the network.
NK
Set the network security key for the network. If set to 0 (default), a random network security key will be used.
KY
Set the trust center link key for the network. If set to 0 (default), a random link key will be used.
EO
Set the security policy for the network.
Command Description
NJ
Sets the permit-join time on the coordinator, measured in seconds.
D5
Enables the Associate LED functionality.
LT
Sets the Associate LED blink time when joined. Default is one blink per second.