User Manual
Table Of Contents
- 1. XBee®/XBee-PRO® RF Modules
- 2. RF Module Operation
- 3. RF Module Configuration
- Programming the RF Module
- Remote Configuration Commands
- Command Reference Tables
- Command Descriptions
- A1 (End Device Association) Command
- A2 (Coordinator Association) Command
- AC (Apply Changes) Command
- AI (Association Indication) Command
- AP (API Enable) Command
- AS (Active Scan) Command
- BD (Interface Data Rate) Command
- CA (CCA Threshold) Command
- CC (Command Sequence Character) Command
- CE (Coordinator Enable) Command
- CH (Channel) Command
- CN (Exit Command Mode) Command
- CT (Command Mode Timeout) Command
- D0 - D4 (DIOn Configuration) Commands
- D5 (DIO5 Configuration) Command
- D6 (DIO6 Configuration) Command
- D7 (DIO7 Configuration) Command
- D8 (DI8 Configuration) Command
- DA (Force Disassociation) Command
- DB (Received Signal Strength) Command
- DH (Destination Address High) Command
- DL (Destination Address Low) Command
- DN (Destination Node) Command
- DP (Disassociation Cyclic Sleep Period) Command
- EA (ACK Failures) Command
- EC (CCA Failures) Command
- ED (Energy Scan) Command
- EE (AES Encryption Enable) Command
- FP (Force Poll) Command
- FR (Software Reset) Command
- GT (Guard Times) Command
- HV (Hardware Version) Command
- IA (I/O Input Address) Command
- IC (DIO Change Detect) Command
- ID (Pan ID) Command
- IO (Digital Output Level) Command
- IR (Sample Rate) Command
- IS (Force Sample) Command
- IT (Samples before TX) Command
- IU (I/O Output Enable) Command
- KY (AES Encryption Key) Command
- M0 (PWM0 Output Level) Command
- M1 (PWM1 Output Level) Command
- MM (MAC Mode) Command
- MY (16-bit Source Address) Command
- NB (Parity) Command
- ND (Node Discover) Command
- NI (Node Identifier) Command
- NO (Node Discover Options) Command
- NT (Node Discover Time) Command
- P0 (PWM0 Configuration) Command
- P1 (PWM1 Configuration) Command
- PL (Power Level) Command
- PR (Pull-up Resistor) Command
- PT (PWM Output Timeout) Command
- RE (Restore Defaults) Command
- RN (Random Delay Slots) Command
- RO (Packetization Timeout) Command
- RP (RSSI PWM Timer) Command
- RR (XBee Retries) Command
- SC (Scan Channels) Command
- SD (Scan Duration) Command
- SH (Serial Number High) Command
- SL (Serial Number Low) Command
- SM (Sleep Mode) Command
- SO (Sleep Mode Command)
- SP (Cyclic Sleep Period) Command
- ST (Time before Sleep) Command
- T0 - T7 ((D0-D7) Output Timeout) Command
- VL (Firmware Version - Verbose)
- VR (Firmware Version) Command
- WR (Write) Command
- API Operation
- Appendix A: Agency Certifications
- Appendix B. Additional Information
XBee®/XBee‐PRO®RFModules‐802.15.4‐v1.xEx[2011.06.1]
©2011DigiInternatonal,Inc. 34
*Firmwareversioninwhichthecommand wasfirstintroduced(firmwareversionsarenumberedinhexadecimalnotation.)
Serial Interfacing
*Firmwareversioninwhichthecommand wasfirstintroduced(firmwareversionsarenumberedinhexadecimalnotation.)
I/O Settings
Tabl e3‐05. XBee‐PROCommands‐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 e3‐06. XBee‐PROCommands‐I/OSettings(sub‐categorydesignatedwithin{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










