Specifications
XBee®/XBee‐PRO®SERFModules
©2009DigiInternational,Inc. 26
XBee Smart Energy Coordinator Startup
The following commands control the coordinator network formation process.
Networkformationcommandsusedbythecoordinatortoformanetwork.
Once the coordinator starts a network, the network configuration settings and child table data
persist through power cycles as mentioned in the "Persistent Data" section.
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:
If any of the command values in the network formation commands table changes, the coordinator
will leave its current network and start a new network, possibly on a different channel. Note that
command changes must be applied (AC command) before taking effect.
Permit Joining
The permit joining attribute on the coordinator is configurable with the NJ command. Joining
cannot be permanently enabled in a smart energy network.
Joining Temporarily Enabled
If the value of NJ is nonzero, then joining will be enabled for that many seconds. If NJ is zero, then
joining is disabled unless the commissioning button is pressed twice, in which case joining is
enabled for one minute. The timer is started once the XBee joins a network. The timer is reseton
power-cycle or when NJ changes. The following mechanisms can restart the permit-joining timer:
• Changing NJ to a different value (and applying changes with the AC or CN commands)
• Pressing the commissioning button twice
• Issuing the CB command with a parameter of 2 in which case software emulation of a 2 but-
ton press will occur.
XBee Device Registration
Up to 10 devices can be registered with the XBee coordinator (trust center) using the Register
Joining Device API frame (0x24). Registering a device informs the trust center of the 64-bit
address and initial link key of a device that is authorized to join the network. (In some cases, the
device's initial link key may be derived from an installation code.) Devices that are removed from
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.
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.
Command Description
NJ
Sets the permit-join time on the coordinator,
measured in seconds.
LT
Sets the Associate LED blink time when
joined. Default is 1 blink per second.