Operate in API mode
API frames
XBee/XBee-PRO DigiMesh 2.4 RF Module User Guide
139
Frame fields
Offset
Example
Start delimiter
0
0x7E
Length
MSB 1
0x00
LSB 2
0x14
Frame-specific data
64-bit source address
MSB 4
0x00
5
0x13
6
0xA2
7
0x00
8
0x40
9
0x52
10
0x2B
LSB 11
0xAA
Reserved
MSB 12
0xfffe
LSB 13
0x84
Receive options
14
0x01
Number of samples
15
0x01
Digital channel mask
16
0x00
17
0x1C
Analog channel mask
18
0x02
Digital samples (if included)
19
0x00
20
0x14
Analog sample
21
0x02
22
0x25
Checksum
23
0xF5