
XBee‐PROPKG‐R™RS‐232RFModem–ProductManualv1.0
©2005MaxStream,Inc.Confidential&Proprietary 16
4.2. XBee-PRO Command Reference Table
Table4‐01. XBee‐PROCommands(RFmodemsexpectnumericalvaluesinhexadecimal.Hexadecimalvaluesaredesignatedbythe“0x”
prefix.Decimalequivalentsaredesignatedbythe“d”suffix.)
AT
Command
Command
Category Name and Description Parameter Range Default
BD Serial Interfacing Interface Data Rate. Set/Read the serial interface data rate for communications
between the RF modem serial port and host.
0 - 7
(custom rates also supported) 3
CC AT Command
Mode Options
Command Sequence Character. Set/Read the ASCII character value to be used
between Guard Times of the AT Command Mode Sequence (GT+CC+GT). The AT
Command Mode Sequence enters the RF modem to AT Command Mode.
0 - 0xFF 0x2B
('+' ASCII)
CH Networking &
Security
Channel. Set/Read the channel number used for transmitting and receiving between
RF modems. Uses 802.15.4 protocol channel numbers. 0x0C - 0x18 0x0C (12d)
CN AT Command
Mode Options Exit Command Mode. Explicitly exit AT Command Mode. - -
CT AT Command
Mode Options
Command Mode Timeout. Set/Read the period of inactivity (no valid commands
received) after which the RF modem automatically exits AT Command Mode and
returns to Idle Mode.
2 - 0xFFFF [x 100 ms] 0x64 (100d)
DB Diagnostics
Received Signal Strength. Read signal level [in dB] of last good packet received
(RSSI). Absolute value is reported. (For example: 0x58 = -88 dBm) Reported value is
accurate between -40 dBm and RX sensitivity.
0 - 0x64 [read-only] -
DH Networking
& Security
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 &
Security
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
GT AT Command
Mode Options
Guard Times. Set required period of silence before and after the Command Sequence
Characters of the AT Command Mode Sequence (GT+ CC + GT). The period of silence
is used to prevent inadvertent entrance into AT Command Mode.
0x02 - 0xFFFF [x 1 ms] 0x3E8
(1000d)
ID Networking &
Security
PAN ID. Set/Read the PAN (Personal Area Network) ID.
0xFFFF indicates a message for all PANs. 0xFFFF 0x3332
(13106d)
MY Networking &
Security
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
P0 Diagnostics PWM0 Configurations. Select/Read function for PWM0. 0 - 1 1
PL RF Interfacing Power Level. Select/Read power level at which the RF modem transmits. 0 - 4 4
RE (Special) Restore Defaults. Restore RF modem parameters to factory defaults. Follow with WR
command to save values to non-volatile memory. --
RN Networking &
Security
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 0
RO Serial Interfacing
Packetization Timeout. Set/Read number of character times of inter-character delay
required before transmission. Set to zero to transmit characters as they arrive instead of
buffering them into one RF packet.
0 - 0xFF [x character times] 3
RP Diagnostics RSSI PWM Timer. Enable a PWM (pulse width modulation) output (on pin 3 of the RF
modems) which shows RX signal strength. 0 - 0xFF [x 100 ms] 0x28 (40d)
SH Diagnostics 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 Diagnostics Serial Number Low. Read low 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
SM Sleep
(Low Power) Sleep Mode. Set/Read Sleep Mode configurations. 0 - 6 0
SP Sleep
(Low Power)
Cyclic Sleep Period. Set/Read sleep period for cyclic sleeping remotes. Maximum
sleep period is 268 seconds (0x68B0). 0x01 - 0x68B0 [x 10 ms] 0x64 (100d)
ST Sleep
(Low Power)
Time before Sleep. Set/Read time period of inactivity (no serial or RF data is sent or
received) before activating Sleep Mode. The ST parameter is only valid with Cyclic
Sleep settings (SM = 4 - 6). Set ST on Cyclic Sleep Coordinator to match Cyclic Sleep
Remotes.
0x01 - 0xFFFF [x 1 ms] 0x1388
(5000d)
VR Diagnostics Firmware Version. Read firmware version of the RF modem. 0 - 0xFFFF [read-only] Factory-set
WR (Special) Write. Write parameter values to RF modem's non-volatile memory so that
modifications persist through subsequent power-up or reset. --