Product manual

XBee®/XBeePRO®RFModules‐802.15.4‐v1.xEx[2009.09.23]
©2009DigiInternatonal,Inc. 32
*Firmwareversioninwhichthecommand wasfirstintroduced(firmwareversionsarenumberedinhexadecimalnotation.)
Serial Interfacing
*Firmwareversioninwhichthecommand wasfirstintroduced(firmwareversionsarenumberedinhexadecimalnotation.)
I/O Settings
Tabl e305. XBeePROCommands‐SerialInterfacing
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 module serial port and host.
Request non-standard baud rates with values above 0x80 using a terminal window.
Read the BD register to find actual baud rate achieved.
0 - 7 (standard baud rates)
0 = 1200 bps
1 = 2400
2 = 4800
3 = 9600
4 = 19200
5 = 38400
6 = 57600
7 = 115200
0x80 - 0x3D090
(non-standard baud rates up to
250 Kbps)
3
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
AP (v1.x80*)
Serial
Interfacing
API Enable. Disable/Enable API Mode.
0 - 2
0 =Disabled
1 = API enabled
2 = API enabled (w/escaped
control characters)
0
NB
Serial
Interfacing
Parity. Set/Read parity settings.
0 - 4
0 = 8-bit no parity
1 = 8-bit even
2 = 8-bit odd
3 = 8-bit mark
4 = 8-bit space
0
PR (v1.x80*)
Serial
Interfacing
Pull-up Resistor Enable. Set/Read bitfield to configure internal pull-up resistor status
for I/O lines
Bitfield Map:
bit 0 - AD4/DIO4 (pin11)
bit 1 - AD3 / DIO3 (pin17)
bit 2 - AD2/DIO2 (pin18)
bit 3 - AD1/DIO1 (pin19)
bit 4 - AD0 / DIO0 (pin20)
bit 5 - RTS / AD6 / DIO6 (pin16)
bit 6 - DTR / SLEEP_RQ / DI8 (pin9)
bit 7 - DIN/CONFIG (pin3)
Bit set to “1” specifies pull-up enabled; “0” specifies no pull-up
0 - 0xFF 0xFF
Tabl e306. XBeePROCommands‐I/OSettings(subcategorydesignatedwithin{brackets})
AT
Command
Command
Category
Name and Description Parameter Range Default
D8 I/O Settings DI8 Configuration. Select/Read options for the DI8 line (pin 9) of the RF module.
0 - 1
0 = Disabled
3 = DI
(1,2,4 & 5 n/a)
0
D7 (v1.x80*) I/O Settings
DIO7 Configuration. Select/Read settings for the DIO7 line (pin 12) of the RF module.
Options include CTS flow control and I/O line settings.
0 - 1
0 = Disabled
1 = CTS Flow Control
2 = (n/a)
3 = DI
4 = DO low
5 = DO high
6 = RS485 Tx Enable Low
7 = RS485 Tx Enable High
1
D6 (v1.x80*) I/O Settings
DIO6 Configuration. Select/Read settings for the DIO6 line (pin 16) of the RF module.
Options include RTS flow control and I/O line settings.
0 - 1
0 = Disabled
1 = RTS flow control
2 = (n/a)
3 = DI
4 = DO low
5 = DO high
0