AT commands
I/O settings commands
Parameter
Description
4
5
Digital output, low
Digital output, high
Default
0
AP (API Enable)
This command applies to the XBee/XBee-PRO S2C 802.15.4 RF Module.
Set or read the API mode setting. The device can format the RF packets it receives into API frames and
send them out the serial port.
When you enable API, you must format the serial data as API frames because Transparent operating
mode is disabled.
Enables API Mode.
Parameter range
0 - 2
Parameter
Description
Transparent mode, API mode is off. All UART input and output is raw data and the
device uses the RO parameter to delineate packets.
0
1
2
API Mode Without Escapes. The device packetizes all UART input and output data in
API format, without escape sequences.
API Mode With Escapes. The device is in API mode and inserts escaped sequences to
allow for control characters. When XON (0x11), XOFF (0x13), Escape (0x7D), and start
delimiter 0x7E are data, these bytes are escaped so that they never appear in the
data and so that they can always be interpreted with their special meanings.
Default
0
I/O settings commands
The following AT commands are I/O settings commands.
D0 (DIO0/AD0)
This command applies to the XBee/XBee-PRO S2C 802.15.4 RF Module.
Sets or displays the DIO0/AD0 configuration (TH pin 20/SMT pin 33).
Parameter range
0, 2 - 5
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
90