User's Guide

Table Of Contents
Operate in API mode Frame descriptions
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
113
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. The
Frame ID of the 0x88 response is the same one set by the command in the 0x08 frame.
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
Identifies the data frame for the host to correlate with a subsequent ACK
(0x88). If set to 0, the device does not send a response.
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 where the baud rate (BD) for the device is
set to 1200.
Frame data fields Offset Example
Start delimiter 0 0x7E
Length MSB 1 0x00
LSB 2 0x04
Frame type 3 0x08
Frame ID 4 0x52 (R)