API operating mode
API (Application Programming Interface) operating mode is an alternative to AT mode. API operating mode requires that communication with the module be done through a structured interface. In other words, data is communicated via API frames.
The API specifies how commands, command responses, and module status messages are sent and received from the module using the serial interface. With API operating mode, you can:
- Configure the XBee module itself.
- Configure remote modules in the network.
- Manage data transmission to multiple destinations.
- Receive success/failure status of each transmitted RF packet.
- Identify the source address of each received packet.
Depending on the AP parameter value, the radio module can operate in one of two modes: API (AP=1) or API escaped (AP=2) operating mode.