Operate in API mode
API mode overview
XBee/XBee-PRO DigiMesh 2.4 RF Module User Guide
108
n
Frame type
is the API frame type identifier. It determines the type of API frame and indicates
how the Data field organizes the information.
n
Data
contains the data itself. This information and its order depend on the what type of frame
that the Frame type field defines.
The XBee modules support the following API frames:
API Frame Names
API ID
AT Command
0x08
AT Command - Queue Parameter Value
0x09
Zigbee Transmit Request
0x10
Explicit Addressing Zigbee Command Frame
0x11
Remote Command Request
0x17
Create Source Route
0x21
AT Command Response
0x88
Modem Status
0x8A
Zigbee Transmit Status
0x8B
Zigbee Receive Packet (AO=0)
0x90
Zigbee Explicit Rx Indicator (AO=1)
0x91
Zigbee I/O Data Sample Rx Indicator
0x92
XBee Sensor Read Indicator (AO=0)
0x94
Node Identification Indicator (AO=0)
0x95
Remote Command Response
0x97
Extended Modem Status
0x98
Over-the-Air Firmware Update Status
0xA0
Route Record Indicator
0xA1
Many-to-One Route Request Indicator
0xA3
Checksum
Checksum is the last byte of the frame and helps test data integrity. It is calculated by taking the hash
sum of all the API frame bytes that came before it, except the first three bytes (start delimiter and
length).
The device does not process frames sent through the serial interface with incorrect checksums, and
ignores their data.
Calculate and verify checksums
To calculate the checksum of an API frame: