AG Electronica XBee 2 Series Manual page 49

Table of Contents

Advertisement

www.agelectronica.com
XBee Series 2 ZigBee OEM RF Modules v1.x2x  [2007.07.019]
Identifies the UART data frame being reported.
Note: If Frame ID = 0 in AT Command Mode,
no AT Command Response will be given.
Frame ID (Byte 5)
Identifies the UART data frame being
reported. If Frame ID = 0, no AT command
response will be given
www.agelectronica.com
AT Command Response
API Identifier Value: (0x88)
Response to previous command.
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).
Figure 7‐10. AT Command Response Frames.
Start Delimiter
Length
Frame Data
0x7E
MSB
LSB
API-specific Structure
API Identifier
0x88
Frame ID (Byte 5 )
AT Command (Bytes 6-7)
Command Name - Two
ASCII characters that
identify the AT Command.
Remote AT Command Request
API Identifier Value: (0x17)
Allows for module parameter registers on a remote device to be queried or set
Figure 7‐11. Remote AT Command Request
Start Delimiter
Length
0x7E
MSB
LSB
API-specific Structure
API Identifier
0x017
Set to match the 16-bit network
address of the destination, MSB
first, LSB last. Set to 0xFFFE for
broadcast TX, or if the network
address is unknown.
64-bit Destination Address
(bytes 6-13)
Set to match the 64-bit address
of the destination, MSB first,
LSB last. Broadcast =
0x000000000000FFFF.
© 2007 Digi International, Inc.
Checksum
1 Byte
Identifier-specific Data
cmdData
Status (Byte 8)
0 = OK
1 = ERROR
2 = Invalid Command
3 = Invalid Parameter
Frame Data
Checksum
1 Byte
Identifier-specific Data
cmdData
16-bit Destination Network Address
(bytes 14-15)
Command Options (byte 16)
0x02 - Apply changes on remote. (If
not set, AC command must be sent
before changes will take effect.)
All other bits must be set to 0.
www.agelectronica.com
Chapter 7 ‐ API Operation
Value (Byte(s) 9-n)
The HEX (non-ASCII) value
of the requested register
Command Name (bytes
17-18)
Name of the
command
Command Data (byte 19-n)
If present, indicates the requested
parameter value to set the given
register. If no characters present,
the register is queried.
www.agelectronica.com
     48

Advertisement

Table of Contents
loading

This manual is also suitable for:

Xb24-buit-004

Table of Contents