
XBee‐PROPKG‐U™USBRFModem–802.15.4‐ProductManualv1.x82[2006.04.24]
©2006MaxStream,Inc.,Confidential&Proprietary‐AllRightsReserved 20
3.2. Command Reference Tables
XBee-PRO RF Modems expect numerical values in hexadecimal. Hexadecimal values are desig-
nated by a “0x” prefix. Decimal equivalents are designated by a “d” suffix. Table rows are sorted
by command category, then by logic of most commonly used.
All modems operating within the same network should contain the same firmware version.
Special Commands
Networking Commands
Table3‐01. XBee‐PROCommands‐Special
AT
Command Command
Category Name and Description Parameter Range Default
FR Special Software Reset. Responds immediately with an OK then performs a hard reset
~100ms later. --
RE Special Restore Defaults. Restore modem parameters to factory defaults. - -
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 modem until
after the response "OK\r" is received. --
Table3‐02. XBee‐PROCommands‐Networking(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 between
RF modems. Uses 802.15.4 protocol channel numbers. 0x0C - 0x17 0x0C (12d)
ID Networking
{Addressing} PAN ID. Set/Read the PAN (Personal Area Network) ID.
Use 0xFFFF to send messages to all PANs. 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 DHparameter to zero andDL 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 DHparameter to zero andDL 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 modem 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 modem'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 modem's uniqueIEEE 64-bit address.
64-bit source address is always enabled. 0 - 0xFFFFFFFF [read-only] Factory-set
RN Networking
{Addressing} Random Delay Slots. Set/Read the minimum value of the back-off exponent in the
CSMA-CA algorithm thatis 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 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
NI Networking
{Identification}
Node Identifier. Stores a string identifier. The register only accepts printable ASCII
data.Astring can notstartwith a space.Carriagereturn endscommand.Commandwill
automatically end when maximum bytes for the string have been entered. This string is
returned as part of the ND (Node Discover) command. This identifier is also used with
the DN (Destination Node) command.
20 byte ACII string -
ND Networking
{Identification}
NodeDiscover. Discovers and reportsall RF modemsfound.Thefollowinginformation
is reported for each modem discovered (refer to long command description regarding
differences between Transparent and API operation).
MY<CR>
SH<CR>
SL<CR>
DB<CR>
NI<CR><CR>
After 2.5 seconds, the command ends by returning a <CR> (carriage return).
ND also accepts a Modem Identifier as a parameter. In this case, only a modem
matching the supplied identifier will respond.
optional 20 Byte NI value