
API Operation
Frame descriptions
XBee/XBee-PRO® S2C ZigBee® RF Module
163
Frame data
fields
Offset Description
Options
16
0x01 - Disable retries
0x20 - Enable APS encryption (if EE=1)
0x40 - Use the extended transmission timeout for this destination
Enabling APS encryption decreases the maximum number of RF payload
bytes by 4 (below the value reported by
NP
).
Setting the extended timeout bit causes the stack to set the extended
transmission timeout for the destination address. See
.
All unused and unsupported bits must be set to 0.
RF data
17-n
Data sent to the destination device.
Example
The example shows how to send a transmission to a device if you disable escaping (
AP
= 1), with
destination address 0x0013A200 40014011, and payload “TxData1B”.
Frame data fields
Offset
Example
Start delimiter
0
0x7E
Length
MSB 1
0x00
LSB 2
0x16
Frame type
3
0x10
Frame ID
4
0x01
64-bit destination
address
MSB 5
0x00
6
0x13
7
0xA2
8
0x00
9
0x40
10
0x0A
11
0x01
LSB 12
0x27
16-bit destination
network address
MSB 13
0xFF
LSB 14
0xFE
Broadcast radius
15
0x00
Options
16
0x00