Zigbee networks Zigbee coordinator operation
Digi XBee® 3 Zigbee® RF Module
81
The coordinator retains 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, link key table,
and child table data are lost.
Coordinator startup
The following table provides the network formation commands that the coordinator uses to form a
network.
Command Description
CE
Must be set to 1 to specify that the device will act as a coordinator and form a network.
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 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.
SD
Set the scan duration, or time that the router will listen for beacons on each channel.
ZS
Set the Zigbee stack profile for the network.
EE
Enable or disable security in the network.
KY If encryption is enabled, a preconfigured link key can be set. Any device with a matching
link key will be allowed to join when the join window is open. If KY is set to 0, a random
link key will be assigned, and devices will have to be registered to join or allowed to
insecurely join using a default link key.
NK Set a preconfigured network key for secured networks. NK is only applicable to the
device with CE = 1 and defines the initial network key. In most situations you should
leave this value at 0.
EO Set the security policy for the network if encryption is enabled. EO defines whether the
coordinator should act as a centralized trust center or form the network as a router in
a distributed trust center network. You can also optionally allow insecure devices to
join using a well-known link key.
Configuration changes delay the start of network formation for five seconds after the last change.
Once the coordinator starts a network, the network configuration settings and child table data
persist through power cycles as mentioned in Persistent data.
When the coordinator has successfully started a network, it:
n Allows other devices to join the network for a time; see NJ (Node Join Time)
n Sets AI = 0
n Starts blinking the Associate LED
n Sends an API modem status frame (“coordinator started”) out the serial port when using API
mode
These behaviors are configurable using the following commands: