AP (API Enable)

This command applies to the XBee 3 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 sends them out the serial port.

When you enable API, you must format the serial data as API frames because Transparent operating mode is disabled.

Parameter range

0 - 4

Parameter Description
0 API disabled (operate in Transparent mode)
1 API enabled
2 API enabled (with escaped control characters)
4 API enabled (operate in Micropython mode)

Default

0