Command reference tables Networking commands
XBee/XBee-PRO ZigBee RF Modules User Guide 157
Networking commands
AT
Command
Name and Description
Node
Type
1
Parameter Range Default
CH Operating Channel. Read the channel number used for
transmitting and receiving between RF modules. Uses
802.15.4 channel numbers. A value of 0 means the
device has not joined a PAN and is not operating on any
channel.
CRE XBee
0, 0x0B - 0x1A |
(Channels 11-26)
XBee-PRO (S2)
0, 0x0B - 0x18
(Channels 11-24)
XBee-PRO (S2B)
0, 0x0B - 0x19
(Channels 11-25)
[read-only]
DA Force Disassociation. End device will immediately
disassociate from a Coordinator (if associated) and
reattempt to associate.
CRE - -
ID Extended PAN ID. Set/read the 64-bit extended PAN ID.
If set to 0, the coordinator will select a random extended
PAN ID, and the router / end device will join any
extended PAN ID. Changes to ID should be written to
non-volatile memory using the WR command to
preserve the ID setting if a power cycle occurs.
CRE 0 - 0xFFFFFFFFFFFFFFFF 0
OP Operating Extended PAN ID. Read the 64-bit extended
PAN ID. The OP value reflects the operating extended
PAN ID that the module is running on. If ID > 0, OP will
equal ID.
CRE 0x01 -
0xFFFFFFFFFFFFFFFF
[read-only]
NH Maximum Unicast Hops. Set / read the maximum hops
limit. This limit sets the maximum broadcast hops value
(BH) and determines the unicast timeout. The timeout is
computed as (50 * NH) + 100 ms. The default unicast
timeout of 1.6 seconds (NH=0x1E) is enough time for
data and the acknowledgment to traverse about 8 hops.
CRE 0 - 0xFF 0x1E
BH Broadcast Hops. Set/Read the maximum number of
hops for each broadcast data transmission. Setting this
to 0 will use the maximum number of hops.
CRE 0 - 0x1E 0
OI Operating 16-bit PAN ID. Read the 16-bit PAN ID. The OI
value reflects the actual 16-bit PAN ID the module is
running on.
CRE 0 - 0xFFFF [read-only]
NT Node Discovery Timeout. Set/Read the node discovery
timeout. When the network discovery (ND) command is
issued, the NT value is included in the transmission to
provide all remote devices with a response timeout.
Remote devices wait a random time, less than NT,
before sending their response.
CRE 0x20 - 0xFF
[x 100 msec]
0x3C (60d)