API Operation for the XBee/XBee-PRO RF Module
XBee / XBee-PRO RF Modules 802.15.4 Product Manual 96
Figure 25: RX packet (64-bit address) frames
RX (Receive) packet: 16-bit address
API identifier value: 0x81
When the module receives an RF packet, it is sent out the UART using this message type.
Figure 26: RX Packet (16-bit address) frames
RX (Receive) Packet: 64-bit address IO
API identifier value: 0x82
I/O data is sent out the UART using an API frame.
Figure 27: RX packet (64-bit address) frames
cmdData0x80
Length ChecksumStart Delimiter Frame Data
Identifier-specific DataAPI Identifier
MSB LSB0x7E 1 ByteAPI-specific Structure
bit 0 [reserved]
bit 1 = Address broadcast
bit 2 = PAN broadcast
bits 3-7 [reserved]
Up t o 100 Bytes per packet
Received Signal Strength Indicator -
Hexadecimal equivalent of (-dBm) value.
(For example: If RX signal strength = -40
dBm, “0x28” (40 decimal) is returned)
Source Address (Bytes 5-12) Options (Byte 14) RF Data (Byte(s) 15-n)RSSI (Byte 13)
MSB (most significant byte) first,
LSB (least significant) last
cmdData0x81
Length ChecksumStart Delimiter Frame Data
Identifier-specific DataAPI Identifier
MSB LSB0x7E 1 ByteAPI-specific Structure
bit 0 [reserved]
bit 1 = Address broadcast
bit 2 = PAN broadcast
bits 3-7 [reserved]
Up to 100 Bytes per packet
Received Signal Strength Indicator -
Hexadecimal equivalent of (-dBm) value.
(For example: If RX signal strength = -40
dBm, “0x28” (40 decimal) is returned)
Source Address (Bytes 5-6) RSSI (Byte 7)
MSB (most significant byte) first,
LSB (least significant) last
Options (Byte 8) RF Data (Byte(s) 9-n)