AP (API Enable)

This command applies to the XBee 3 Cellular LTE-M/NB-IoT.

Enables the frame-based application programming interface (API) mode.

The API mode setting. The device can format the RF packets it receives into API frames and send them out the UART. When API is enabled the UART data must be formatted as API frames because Transparent mode is disabled. See Modes for more information.

Parameter range

0x00 - 0x05

Parameter Description
0x00 API disabled (operate in Transparent mode)
0x01 API enabled
0x02 API enabled (with escaped control characters)
0x03 N/A
0x04 MicroPython REPL
0x05 Bypass mode (DEPRECATED. For diagnostic use only)

Default

0