Product Manual
XBee/XBee‐PRO™OEMRFModules‐802.15.4‐v1.xAx[2007.05.031]
©2007MaxStream,Inc. 26
Chapter3‐RFModuleConfiguration
3.2. Command Reference Tables
XBee/XBee-PRO RF Modules expect numerical values in hexadecimal. Hexadecimal values are des-
ignated by a “0x” prefix. Decimal equivalents are designated by a “d” suffix. Commands are con-
tained within the following command categories (listed in the order that their tables appear):
•Special
• Networking & Security
• RF Interfacing
• Sleep (Low Power)
• Serial Interfacing
•I/O Settings
•Diagnostics
• AT Command Options
All modules within a PAN should operate using the same firmware version.
Special
*Firmwareversioninwhichthecommandwasfirstintroduced(firmwareversionsarenumberedinhexadecimalnotation.)
Networking & Security
Table3‐01. XBee‐PROCommands‐Special
AT
Command
Command
Category
Name and Description Parameter Range Default
WR Special
Write. Write parameter values to non-volatile memory so that parameter modifications
persist through subsequent power-up or reset.
Note: Once WR is issued, no additional characters should be sent to the module until
after the response "OK\r" is received.
--
RE Special Restore Defaults. Restore module parameters to factory defaults. - -
FR ( v1.x80*) Special
Software Reset. Responds immediately with an OK then performs a hard reset
~100ms later.
--
Table3‐02. XBee/XBee‐PROCommands‐Networking&Security(Sub‐categoriesdesignatedwithin{brackets})
AT
Command
Command
Category
Name and Description Parameter Range Default
CH
Networking
{Addressing}
Channel. Set/Read the channel number used for transmitting and receiving data
between RF modules (uses 802.15.4 protocol channel numbers).
0x0B - 0x1A (XBee)
0x0C - 0x17 (XBee-PRO)
0x0C (12d)
ID
Networking
{Addressing}
PAN ID. Set/Read the PAN (Personal Area Network) ID.
Use 0xFFFF to broadcast messages to all PANs.
0 - 0xFFFF
0x3332
(13106d)
DH
Networking
{Addressing}
Destination Address High. Set/Read the upper 32 bits of the 64-bit destination
address. When combined with DL, it defines the destination address used for
transmission. To transmit using a 16-bit address, set DH parameter to zero and DL less
than 0xFFFF. 0x000000000000FFFF is the broadcast address for the PAN.
0 - 0xFFFFFFFF 0
DL
Networking
{Addressing}
Destination Address Low. Set/Read the lower 32 bits of the 64-bit destination
address. When combined with DH, DL defines the destination address used for
transmission. To transmit using a 16-bit address, set DH parameter to zero and DL less
than 0xFFFF. 0x000000000000FFFF is the broadcast address for the PAN.
0 - 0xFFFFFFFF 0
MY
Networking
{Addressing}
16-bit Source Address. Set/Read the RF module 16-bit source address. Set MY =
0xFFFF to disable reception of packets with 16-bit addresses. 64-bit source address
(serial number) and broadcast address (0x000000000000FFFF) is always enabled.
0 - 0xFFFF 0
SH
Networking
{Addressing}
Serial Number High. Read high 32 bits of the RF module's unique IEEE 64-bit
address. 64-bit source address is always enabled.
0 - 0xFFFFFFFF [read-only] Factory-set
SL
Networking
{Addressing}
Serial Number Low. Read low 32 bits of the RF module's unique IEEE 64-bit address.
64-bit source address is always enabled.
0 - 0xFFFFFFFF [read-only] Factory-set
RR ( v1.xA0*)
Networking
{Addressing}
XBee Retries. Set/Read the maximum number of retries the module will execute in
addition to the 3 retries provided by the 802.15.4 MAC. For each XBee retry, the
802.15.4 MAC can execute up to 3 retries.
0 - 6 0
RN
Networking
{Addressing}
Random Delay Slots. Set/Read the minimum value of the back-off exponent in the
CSMA-CA algorithm that is used for collision avoidance. If RN = 0, collision avoidance
is disabled during the first iteration of the algorithm (802.15.4 - macMinBE).
0 - 3 [exponent] 0
MM ( v1.x80*)
Networking
{Addressing}
MAC Mode. Set/Read MAC Mode value. MAC Mode enables/disables the use of a
MaxStream header in the 802.15.4 RF packet. When Mode 0 is enabled (MM=0),
duplicate packet detection is enabled as well as certain AT commands. Modes 1 and 2
are strict 802.15.4 modes.
0 - 2
0 = MaxStream Mode
1 = 802.15.4 (no ACKs)
2 = 802.15.4 (with ACKs)
0