Command reference tables Networking commands
XBee/XBee-PRO ZigBee RF Modules User Guide 159
SD Scan Duration. Set/Read the scan duration exponent.
Changes to SD should be written using WR command.
Coordinator - Duration of the Active and Energy Scans
(on each channel) that are used to determine an
acceptable channel and Pan ID for the Coordinator to
startup on.
Router / End Device - Duration of Active Scan (on each
channel) used to locate an available Coordinator /
Router to join during Association.
Scan Time is measured as: (# Channels to Scan) * (2 ^ SD)
* 15.36ms - The number of channels to scan is
determined by the SC parameter. The XBee can scan up
to 16 channels (SC = 0xFFFF).
Sample Scan Duration times (13 channel scan):
If SD = 0, time = 0.200 sec
SD = 2, time = 0.799 sec
SD = 4, time = 3.190 sec
SD = 6, time = 12.780 sec
Note SD influences the time the MAC listens for
beacons or runs an energy scan on a given
channel. The SD time is not a good estimate of
the router/end device joining time
requirements. ZigBee joining adds additional
overhead including beacon processing on each
channel, sending a join request, and so forth.
that extend the actual joining time.
CRE 0 - 7 [exponent] 3
ZS ZigBee Stack Profile. Set / read the ZigBee stack profile
value. This must be set the same on all devices that
should join the same network.
CRE 0 - 2 0
NJ Node Join Time. Set/Read the time that a Coordinator/
Router allows nodes to join. This value can be changed
at run time without requiring a Coordinator or Router to
restart. The time starts once the Coordinator or Router
has started. The timer is reset on power-cycle or when
NJ changes.
For an end device to enable rejoining, NJ should be set
less than 0xFF on the device that will join. If NJ < 0xFF,
the device assumes the network is not allowing joining
and first tries to join a network using rejoining. If
multiple rejoining attempts fail, or if NJ=0xFF, the
device will attempt to join using association.
Note Setting the NJ command will not cause the radio
to broadcast the new value of NJ out to the
network via a Mgmt_Permit_Joining_req; this
value is transmitted by setting CB=2. See the
command description for CB for more
information.
CRE 0 - 0xFF
[x 1 sec]
0xFF
(always allows
joining)
AT
Command
Name and Description
Node
Type
1
Parameter Range Default