Command reference tables Serial interfacing (I/O) commands
XBee/XBee-PRO ZigBee RF Modules User Guide 163
Serial interfacing (I/O) commands
AT
Command
Name and Description
Node
Type
1
Parameter Range Default
AP API Enable. Enable API Mode.
The AP command is only supported when using API firmware:
21xx (API coordinator), 23xx (API router), 29xx (API end
device).
CRE 1 - 2
1 = API-enabled
2 = API-enabled
(w/escaped control
characters)
1
AO API Options. Configure options for API. Current options
select the type of receive API frame to send out the UART for
received RF data packets.
CRE 0 - Default receive API
indicators enabled
1 - Explicit Rx data
indicator API frame
enabled (0x91)
3 - enable ZDO
passthrough of ZDO
requests to the UART
which are not supported
by the stack, as well as
Simple_Desc_req,
Active_EP_req, and
Match_Desc_req.
0
BD Interface Data Rate. Set/Read the serial interface data rate
for communication between the module serial port and host.
Any value above 0x07 will be interpreted as an actual baud
rate. When a value above 0x07 is sent, the closest interface
data rate represented by the number is stored in the BD
register.
CRE 0 - 7
(standard baud rates)
0 = 1200 b/s
1 = 2400
2 = 4800
3 = 9600
4 = 19200
5 = 38400
6 = 57600
7 = 115200
0x80 - 0xE1000
(non-standard rates up to
921kb/s)
3
NB Serial Parity. Set/Read the serial parity setting on the
module.
CRE 0 = No parity
1 = Even parity
2 = Odd parity
3 = Mark parity
0
SB Stop Bits. Set/read the number of stop bits for the UART. Two
stop bits are not supported if mark parity is enabled.
CRE 0 = 1 stop bit
1 = 2 stop bits
0
RO Packetization Timeout. Set/Read number of character times
of inter-character silence required before packetization. Set
(RO=0) to transmit characters as they arrive instead of
buffering them into one RF packet The RO command is only
supported when using AT firmware: 20xx (AT coordinator),
22xx (AT router), 28xx (AT end device).
CRE 0 - 0xFF
[x character times]
3