XBee/XBeePRO"燨EM燫F燤odules??02.15.4?爒1.xAx燵2007.05.031]
2007燤axStream,營nc.
牋牋?8
Chapter??燫F燤odule燙onfiguration
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.
Figure?12.  TX燬tatus燜rames
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.
Figure?13.  RX燩acket?64bit燼ddress)燜rames
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?14.  RX燩acket?16bit燼ddress)燜rames
cmdData
0x89
Length
Checksum
Start Delimiter
Frame Data
Identifier-specific Data
API Identifier
MSB
LSB
0x7E
1 Byte
API-specific Structure
Frame ID (Byte 5)
Status (Byte 6)
0 = Success
1 = No ACK (Acknowledgement) received
2 = CCA failure
3 = Purged
Identifies UART data frame being reported.
Note: If Frame ID = 0 in the TX Request, no
AT Command Response will be given.
cmdData
0x80
Length
Checksum
Start Delimiter
Frame Data
Identifier-specific Data
API Identifier
MSB
LSB
0x7E
1 Byte
API-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-12)
Options (Byte 14)
RF Data (Byte(s) 15-n)
RSSI (Byte 13)
MSB (most significant byte) first,
LSB (least significant) last
cmdData
0x81
Length
Checksum
Start Delimiter
Frame Data
Identifier-specific Data
API Identifier
MSB
LSB
0x7E
1 Byte
API-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)