Operate in API mode API frames
XBee®/XBee-PRO SX RF Module User Guide
121
AT Command Frame - 0x08
Description
Use this frame to query or set device parameters on the local device. This API command applies
changes after running the command. You can query parameter values by sending the 0x08 AT
Command frame with no parameter value field (the two-byte AT command is immediately followed by
the frame checksum).
A 0x88 response frame is populated with the parameter value that is currently set on the device.
Format
The following table provides the contents of the frame. For details on frame structure, see API frame
specifications.
Frame
data
fields Offset Description
Frame
type
3 0x08
Frame ID 4
AT
command
5-6 Command name: two ASCII characters that identify the AT command.
Parameter
value
7-n
If present, indicates the requested parameter value to set the given register.
If no characters are present, it queries the register.
Example
The following example illustrates an AT Command frame when you modify the device's NH parameter
value.
Frame data fields Offset Example
Start delimiter 0 0x7E
Length MSB 1 0x00
LSB 2 0x05
Frame type 3 0x08
Frame ID 4 0x52
AT command 5 0x4E (N)
6 0x48 (H)
Parameter value (NH2 = two network hops) 7 0x02
Checksum 8 0x0D