Specifications

XBee®/XBeePRO®SERFModules
©2009DigiInternational,Inc. 91
ZigBee Create Source Route
Frame Type: 0x21
This frame creates a source route in the module. A source route specifies the complete route a
packet should traverse to get from source to destination. Source routing should be used with
many-to-one routing for best results.
Note: Both the 64-bit and 16-bit destination addresses are required when creating a source route.
These are obtained when a Route Record Indicator (0xA1) frame is received.
This message is received through the UART to inform a concentrator (aggregator) of the source
route to use when addressing a remote node. It is sent before sending a data packet to the
concentrator by the remote node, so the concentrator knows how to route a response
Frame Fields Offset Example Description
A
P
I
P
a
c
k
e
t
Start Delimiter 00x7E
Length MSB 1 0x00
Number of bytes between the length and the checksum
LSB 2 0x10
Frame-specific Data Frame Type 30x21
Frame ID 40x01
Identifies the UART data frame for the host to correlate
with a subsequent ACK (acknowledgement). If set to 0,
no response is sent.
64-bit Destination
Address
MSB 5 0x00
Extended (64-bit) Address of the destination node.
60x13
70xA2
80x00
90x40
10 0x40
11 0x11
LSB 12 0x22
16-bit Destination
Network Address
MSB 13 0x33
Network (16-bit) Address of the destination node.
LSB 14 0x44
Receive Options 15 0x00 Set to 0x00.
# of Route Records 16 0x01
The number of route records (16-bit addresses) which
follow.
Route Record
17 0xEE Each record holds a 16-bit address. The first record is the
16-bit address of the neighbor of the device that sent the
route record. The last record is the 16-bit address of the
last hop of the route record (neighbor of the recipient).
18 0xFF
Checksum 19 0x10 0xFF - the 8 bit sum of bytes from offset 3 to this byte.