Product manual

XBee®/XBeePRO®RFModules‐802.15.4‐v1.xEx[2009.09.23]
©2009DigiInternatonal,Inc. 63
TX (Transmit) Status
API Identifier Value: 0x89
When a TX Request is completed, the module sends a TX Status message. This message will indi-
cate if the packet was transmitted successfully or if there was a failure.
Figure315. TXStatusFrames
NOTES:
• “STATUS = 1” occurs when all retries are expired and no ACK is received.
• If transmitter broadcasts (destination address = 0x000000000000FFFF), only
“STATUS = 0 or 2” will be returned.
• “STATUS = 3” occurs when Coordinator times out of an indirect transmission.
Timeout is defined as (2.5 x SP (Cyclic Sleep Period) parameter value).
RX (Receive) Packet: 64-bit Address
API Identifier Value: 0x80
When the module receives an RF packet, it is sent out the UART using this message type.
Figure316. RXPacket(64bitaddress)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.
Figure317. RXPacket(16bitaddress)Frames
cmdData0x89
Length ChecksumStart Delimiter Frame Data
Identifier-specific DataAPI Identifier
MSB LSB0x7E 1 ByteAPI-specific Structure
Frame ID (Byte 5) Status (Byte 6)
0 = Success
1 = No ACK (Acknowledgement) received
2 = CCA failure
3 = P urged
Identifies UART data frame being reported.
Note: If Frame ID = 0 in the TX Request, no
AT Command Response will be given.
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 ret urned)
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)