EasyManuals Logo
Home>Digi>Control Unit>XBEE2

Digi XBEE2 User Manual

Digi XBEE2
195 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #124 background imageLoading...
Page #124 background image
API operation API frames
XBee/XBee-PRO ZigBee RF Modules User Guide 124
Intermediate hop addresses must be ordered starting with the neighbor of the destination, and working closer to
the source. For example, suppose a route is found between A and E as shown below.
A ' B ' C ' D ' E
If device E has the 64-bit and 16-bit addresses of 0x0013A200 40401122 and 0x3344, and if devices B, C, and D
have the following 16-bit addresses:
B = 0xAABB
C = 0xCCDD
D = 0xEEFF
The example above shows how to send the Create Source Route frame to establish a source route between A and
E.
AT Command Response
Frame type: 0x88
In response to an AT Command message, the module will send an AT Command Response message. Some
commands will send back multiple frames (for example, the ND (Node Discover) command).
Suppose the BD parameter is changed on the local device with a frame ID of 0x01. If successful (parameter was
valid), the above response would be received.
Frame-specific
Data
Address 3
21 0xAA
(neighbor of source)
22 0xBB
Checksum
23 0x01
0xFF - the 8 bit sum of bytes from offset 3 to this byte.
Frame Fields Offset Example Description
Frame Fields Offset Example Description
Start Delimiter 0 0x7E
Length
MSB 1 0x00
Number of bytes between the length and the checksum
Frame-specific
Data
LSB 2 0x05
Frame Type
30x88
Frame ID
40x01
Identifies the UART data frame being reported.
Note If Frame ID = 0 in AT Command Mode, no AT Command
Response will be given.
AT Command
5 ‘B’ = 0x42
Command Name - Two ASCII characters that identify the AT
Command.
6 ‘D’ = 0x44
Command
Status
70x00
0 = OK
1 = ERROR
2 = Invalid Command
3 = Invalid Parameter
4 = Tx Failure
Command Data Register data in binary format. If the register was set, then this field
is not returned, as in this example.
Checksum
80xF0
0xFF - the 8 bit sum of bytes from offset 3 to this byte.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Digi XBEE2 and is the answer not in the manual?

Digi XBEE2 Specifications

General IconGeneral
BrandDigi
ModelXBEE2
CategoryControl Unit
LanguageEnglish

Related product manuals