XBee®/XBee‐PRO® ZB SMT RF Modules
Serial Interfacing (I/O)
Serial Interfacing Commands
AT
Name and Description
Command
Parameter Range
Default
0 = API-disabled
(operate in
transparent mode)
1 = API-enabled
2 = API-enabled
(w/escaped control
characters)
API Enable. Enable API Mode. This command is ignored when using SPI. API mode 1 is
always used.
AP
1
0 - Default receive API
indicators enabled
1 - Explicit Rx data
indicator API frame
enabled (0x91)
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.
3 - enable ZDO
AO
0
passthrough of ZDO
requests to the serial port
which are not supported
by the stack, as well as
Simple_Desc_req,
Active_EP_req, and
Match_Desc_req.
0 - 7
(standard baud rates)
0 = 1200 bps
1 = 2400
2 = 4800
3 = 9600
Interface Data Rate. Set/Read the serial interface data rate for communication between
the module serial port and host.
BD
3
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.
4 = 19200
5 = 38400
6 = 57600
7 = 115200
0x80 - 0xE1000
(non-standard rates up to
921kbps)
0 = No parity
1 = Even parity
2 = Odd parity
3 = Mark parity
NB
Serial Parity. Set/Read the serial parity setting on the UART.
0
0 = 1 stop bit
1 = 2 stop bits
Stop Bits. Set/read the number of stop bits for the UART. (Two stop bits are not
SB
0
3
supported if mark parity is enabled.)
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 0 - 0xFF
buffering them into one RF packet The RO command is only supported when operating [x character times]
in transparent mode.
RO
0 = Unmonitored digital
input
1 = CTS Flow Control
3 = Digital input
4 = Digital output, low
5 = Digital output, high
6 = RS-485 transmit
enable (low enable)
7 = RS-485 transmit
enable (high enable)
D7
D6
DIO7 Configuration. Select/Read options for the DIO7 line of the RF module.
1
0
0 = Unmonitored digital
input
1 = RTS flow control
DIO6 Configuration. Configure options for the DIO6 line of the RF module.
3 = Digital input
4 = Digital output, low
5 = Digital output, high
© 2010 Digi International, Inc.
130