AG Electronica XBee 2 Series Manual page 53

Table of Contents

Advertisement

www.agelectronica.com
XBee Series 2 ZigBee OEM RF Modules v1.x2x  [2007.07.019]
Start Delimiter
0x7E
Frame ID (Byte 5)
Identifies UART data frame
being reported.
MSB (most significant byte) first,
LSB (least significant) last
www.agelectronica.com
ZigBee Transmit Status
API Identifier Value: 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.
Figure 7‐15. TX Status Frames
Length
Frame Data
MSB
LSB
API-specific Structure
API Identifier
Identifier-specific Data
0x8B
cmdData
Remote Network Address (Bytes 6-7)
16-bit Network Address the
packet was delivered to (if
success). If not success, this
address matches the
Destination Network Address
that was provided in the
Transmit Request Frame.
ZigBee Receive Packet
API Identifier Value: (0x90)
When the module receives an RF packet, it is sent out the UART using this message type.
Figure 7‐16. RX Packet Frames
Start Delimiter
Length
0x7E
MSB
LSB
API Identifier
0x90
64-bit Address
16-bit Network Address
(Bytes 5-12)
(Bytes 13-14)
MSB (most significant byte) first,
LSB (least significant) last
© 2007 Digi International, Inc.
Checksum
1 Byte
Transmit Retry Count (Byte 8)
Delivery Status (Byte 9)
0x00 = Success
0x02 = CCA Failure
0x15 = Invalid destination
The number of application
endpoint
transmission retries that
0x21 = Network ACK Failure
took place.
0x22 = Not Joined to Network
0x23 = Self-addressed
0x24 = Address Not Found
0x25 = Route Not Found
Frame Data
Checksum
API-specific Structure
1 Byte
Identifier-specific Data
cmdData
Options
(Byte 15)
0x01 - Packet Acknowledged
0x02 - Packet was a
broadcast packet
www.agelectronica.com
Chapter 7 ‐ API Operation
Discovery Status (Byte 10)
0x00 = No Discovery
Overhead
0x01 = Address Discovery
0x02 = Route Discovery
0x03 = Address and Route
Discovery
RF Data
(Byte(s) 16-n)
Up to 72 Bytes per packet
www.agelectronica.com
     52

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xb24-buit-004

Table of Contents