Digi International Inc XBEEPRO2 Manual Do Utilizador

Página de 155
XBee®/XBee‐PRO® ZB RF Modules 
© 2011 Digi International, Inc.
     113
ZigBee Explicit Rx Indicator
Frame Type:0x91 
When the modem receives a ZigBee RF packet it is sent out the UART using this message type (when AO=1).
Example: Suppose a device with a 64-bit address of 0x0013A200 40522BAA, and 16-bit address 
0x7D84 sends a broadcast data transmission to a remote device with payload "RxData". Suppose 
the transmission was sent with source and destination endpoints of 0xE0, cluster ID=0x2211, and 
profile ID=0xC105. If AO=1 on the receiving device, it would send the above frame out its UART.
Frame Fields
Offset Example
Description
A
P
I
 
P
a
c
k
e
t
Start Delimiter
0 0x7E
Length
MSB 1 0x00
Number of bytes between the length and the checksum
LSB 2 0x18
Frame-specific Data 
Frame Type
3 0x91
64-bit Source
Address
MSB 4 0x00
64-bit address of sender. Set to 0xFFFFFFFFFFFFFFFF 
(unknown 64-bit address) if the sender's 64-bit address is 
unknown.
5 0x13
6 0xA2
7 0x00
8 0x40
9 0x52
10 0x2B
LSB 11 0xAA
16-bit Source
Network Address
MSB 12 0x7D
16-bit address of sender.
LSB 13 0x84
Source Endpoint
14 0xE0
Endpoint of the source that initiated the
transmission
Destination Endpoint
15 0xE0
Endpoint of the destination the message is
addressed to.
Cluster ID
16 0x22
Cluster ID the packet was addressed
to.
17 0x11
Profile ID
18 0xC1
Profile ID the packet was
addressed to.
19 0x05
Receive Options
20 0x02
0x01 – Packet Acknowledged
0x02 – Packet was a broadcast packet
0x20 - Packet encrypted with APS encryption
0x40 - Packet was sent from an end device (if known)
Received Data
21 0x52
Received RF data
22 0x78
23 0x44
24 0x61
25 0x74
26 0x61
Checksum
27 0x52
0xFF - the 8 bit sum of bytes from offset 3 to this byte.