Operate in API mode
Frame data
XBee 868LP RF Modules User Guide
171
break;
default:
//Discard any other API frame types that are not being used
break;
}
}
Frame data
This field contains the information that a device receives or will transmit. The structure of frame data
depends on the purpose of the API frame:
Start delimiter
Length
Frame data
Checksum
Frame type
Data
1
2
3
4
5
6
7
8
9
...
n
n+1
0x7E
MSB
LSB
API frame type
Data
Single byte
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.
Multi-byte values are sent big-endian.