XBee®/XBee‐PRO® ZB SMT RF Modules
The broadcast radius can be set from 0 up to NH. If set to 0, the value of NH specifies the broadcast radius
(recommended). This parameter is only used for broadcast transmissions.
The maximum number of payload bytes can be read with the NP command.
Note: if source routing is used, the RF payload will be reduced by two bytes per intermediate hop in the source
route. This example shows if escaping is disabled (AP=1).
Frame Fields
Offset Example
0 0x7E
Description
Start Delimiter
Length
MSB 1 0x00
LSB 2 0x16
3 0x10
Number of bytes between the length and the checksum
Frame-specific Data Frame Type
Frame ID
Identifies the serial port data frame for the host to
correlate with a subsequent ACK (acknowledgement). If
set to 0, no response is sent.
4 0x01
MSB 5 0x00
6 0x13
Set to the 64-bit address of the destination device. The
following addresses are also supported:
0x0000000000000000 - Reserved 64-bit address for the
coordinator
7 0xA2
64-bit Destination
Address
8 0x00
9 0x40
0x000000000000FFFF - Broadcast address
10 0x0A
11 0x01
LSB 12 0x27
MSB 13 0xFF
Set to the 16-bit address of the destination device, if
known. Set to 0xFFFE if the address is unknown, or if
sending a broadcast.
16-bit Destination
Network Address
LSB 14 0xFE
Sets maximum number of hops a
broadcast transmission can occur.
If set to 0, the broadcast radius will
be set to the maximum hops value.
A
P
I
Broadcast Radius
15 0x00
P
a
c
k
e
t
Bitfield of supported transmission options. Supported
values include the following:
0x01 - Disable ACK
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).
Options
16 0x00
Setting the extended timeout bit causes the stack to set
the extended transmission timeout for the destination
address. (See chapter 4.)
All unused and unsupported bits must be set to 0.
Data that is sent to the destination device
17 0x54
18 0x78
19 0x44
20 0x61
21 0x74
22 0x61
23 0x30
24 0x41
25 0x13
RF Data
Checksum
0xFF - the 8 bit sum of bytes from offset 3 to this byte.
Example: The example above shows how to send a transmission to a module where escaping is disabled
(AP=1) with destination address 0x0013A200 40014011, payload "TxData1B". If escaping is enabled
(AP=2), the frame should look like:
© 2010 Digi International, Inc.
102