Digi International Inc XBEEPRO2 사용자 설명서
XBee®/XBee‐PRO® ZB RF Modules
© 2011 Digi International, Inc.
133
Serial Interfacing (I/O)
1. Node types that support the command: C = Coordinator, R = Router, E = End Device
Serial Interfacing Commands
AT
Command
Name and Description
Node
Type
Type
1
Parameter Range
Default
AP
API Enable. Enable API Mode.
The AP command is only supported when using API firmware: 21xx (API coordinator),
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
1 - Explicit Rx data
indicator API frame
enabled (0x91)
3 - enable ZDO
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
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 bps
1 = 2400
2 = 4800
3 = 9600
4 = 19200
5 = 38400
6 = 57600
7 = 115200
0x80 - 0xE1000
(non-standard rates up to
(standard baud rates)
0 = 1200 bps
1 = 2400
2 = 4800
3 = 9600
4 = 19200
5 = 38400
6 = 57600
7 = 115200
0x80 - 0xE1000
(non-standard rates up to
921kbps)
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
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
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
D7
DIO7 Configuration. Select/Read options for the DIO7 line of the RF module.
CRE
0 = Disabled
1 = CTS Flow Control
3 = Digital input
4 = Digital output, low
5 = Digital output, high
6 = RS-485 transmit
3 = Digital input
4 = Digital output, low
5 = Digital output, high
6 = RS-485 transmit
enable (low enable)
7 = RS-485 transmit
7 = RS-485 transmit
enable (high enable)
1
D6
DIO6 Configuration. Configure options for the DIO6 line of the RF module.
CRE
0 = Disabled
1 = RTS flow control
3 = Digital input
4 = Digital output, low
5 = Digital output, high
1 = RTS flow control
3 = Digital input
4 = Digital output, low
5 = Digital output, high
0