Source Routing: Create And Obtain The Route Of A Packet - Digi XBee Zigbee Mesh Kit User Manual

Radio frequency (rf) module
Table of Contents

Advertisement

XBee API mode
1. The intelligent device (host) sends a Remote AT Command Request (0x17) to XBee A through
the serial input to configure the remote XBee B.
2. XBee A wirelessly transmits the AT Command in the frame to the module configured as
destination in the same frame; in this case, the destination is XBee B.
3. XBee B receives the AT command and processes the command to wirelessly return the result
to the sender, XBee A.
4. XBee A sends out a Remote AT Command Response (0x97) through its serial output with the
result of the AT command processed by XBee B. If the frame ID of the Remote AT Command
frame is '0', this response is not sent.

Source routing: Create and obtain the route of a packet

XBee modules also allow you to create and obtain a source route in the module. A source route
specifies the complete route a packet travels to get from source to destination. In this case, before
sending the data (a Transmit Request or a Explicit Addressing Command Frame), you must send a a
Create Source Route (0x21) with the route of the following packet.
Use source routing with many-to-one routing for best results, so you should set the Many-to-One
Route Broadcast Time (AR) parameter to a value other than FF in the sender module.
The following image shows the API exchanges at the serial interface when you are sending a Create
Source Route (0x21) frame.
1. The intelligent device (host) sends a Create Source Route (0x21) to XBee A through the serial input
to specify the route of the following data to XBee B.
2. The intelligent device (host) sends a Transmit Request (0x10) or an Explicit Addressing Command
Frame (0x11) to XBee A through the serial input to transmit data to XBee B.
XBee® Zigbee® Mesh Kit
XBee frame exchange
60

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the XBee Zigbee Mesh Kit and is the answer not in the manual?

Table of Contents