Operate in API mode
Frame descriptions
Local AT Command Response - 0x88
Request frames:
n
Local AT Command Request - 0x08
n
Queue Local AT Command Request - 0x09
Description
This frame type is emitted in response to a local AT Command request. Some commands send back
multiple response frames; for example, ND (Network Discovery). Refer to individual AT command
descriptions for details on API response behavior.
This frame is only emitted if the Frame ID in the request is non-zero.
Format
The following table provides the contents of the frame. For details on frame structure, see API frame
specifications.
Offset
Size
Frame Field Description
0
8-bit
Start
Delimiter
Indicates the start of an API frame.
1
3
4
16-bit
8-bit
8-bit
Length
Number of bytes between the length and checksum.
Local AT Command Response - 0x88
Frame type
Frame ID
Identifies the data frame for the host to correlate with a prior
request.
AT
command
The two ASCII characters that identify the AT Command.
5
7
16-bit
8-bit
Status code for the host's request:
0 = OK
Command
status
1 = ERROR
2 = Invalid command
3 = Invalid parameter
If the host requested a command parameter change, this field
will be omitted.
If the host queried a command by omitting the parameter value
in the request, this field will return the value currently set on
the device.
8-n
variable
8-bit
Command
data
(optional)
EOF
Checksum
0xFF minus the 8-bit sum of bytes from offset 3 to this byte
(between length and checksum).
Examples
Each example is written without escapes (AP = 1) and all bytes are represented in hex format. For
brevity, the start delimiter, length, and checksum fields have been excluded.
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
133