The operating mode of an XBee device establishes the way a user or any microcontroller attached to the XBee communicates with the module through the Universal Asynchronous Receiver/Transmitter (UART) or serial interface.
Depending on the firmware and its configuration, XBee devices can work in different operating modes:
-
Application Transparent (AT) operating mode.
-
API operating mode.
-
API escaped operating mode.
-
MicroPython mode.
In general, the operating mode is determined by the AP setting, which allows you to configure the mode to be AT (AP = 0), API (AP = 1), API escaped (AP = 2) or MicroPython (AP = 4).