AP (API Mode)

This command applies to the XBee®-PRO 900HP 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.

Parameter range

0 - 2

Parameter Description
0

Transparent mode, API mode is off. All UART input and output is raw data and the device uses the RO parameter to delineate packets.

1 API Mode Without Escapes. The device packetizes all UART input and output data in API format, without escape sequences.
2 API Mode With Escapes. The device is in API mode and inserts escaped sequences to allow for control characters. The device passes XON, XOFF, Escape, and the 0x7E delimiter as data.

Default

0