API operation API frames
XBee/XBee-PRO ZigBee RF Modules User Guide 126
ZigBee Transmit Status
Frame type: 0x8B
When a TX Request is completed, the module sends a TX Status message. This message will indicate if the packet
was transmitted successfully or if there was a failure.
Suppose a unicast data transmission was sent to a destination device with a 16-bit address of 0x7D84. (The
transmission could have been sent with the 16-bit address set to 0x7D84 or 0xFFFE.)
Frame Fields Offset Example Description
Start Delimiter
00x7E
Length
MSB 1 0x00
Number of bytes between the length and the checksum
Frame-specific
Data
LSB 2 0x07
Frame Type
30x8B
Frame ID
40x01
Identifies the UART data frame being reported. Note: If Frame ID = 0
in AT Command Mode, no AT Command Response will be given.
16-bit address
of destination
50x7D
16-bit Network Address the packet was delivered to (if successful). If
not successful, this address will be 0xFFFD: Destination Address
Unknown.
60x84
Transmit Retry
Count
70x00
The number of application transmission retries that took place.
Delivery Status
80x00
0x00 = Success
0x01 = MAC ACK Failure
0x02 = CCA Failure
0x15 = Invalid destination endpoint
0x21 = Network ACK Failure
0x22 = Not Joined to Network
0x23 = Self-addressed
0x24 = Address Not Found
0x25 = Route Not Found
0x26 = Broadcast source failed to hear a neighbor relay the
message
0x2B = Invalid binding table index
0x2C = Resource error lack of free buffers, timers, and so forth.
0x2D = Attempted broadcast with APS transmission
0x2E = Attempted unicast with APS transmission, but EE=0
0x32 = Resource error lack of free buffers, timers, and so forth.
0x74 = Data payload too large
Discovery
Status
90x01
0x00 = No Discovery Overhead
0x01 = Address Discovery
0x02 = Route Discovery
0x03 = Address and Route
0x40 = Extended Timeout Discovery
Checksum
10 0x71
0xFF - the 8 bit sum of bytes from offset 3 to this byte.