Datasheet

XBee®/XBeePRO®RFModules‐802.15.4‐v1.xEx[2009.09.23]
©2009DigiInternatonal,Inc. 59
AT Command
API Identifier Value: 0x08
The “AT Command” API type allows for module parameters to be queried or set. When using this
command ID, new parameter values are applied immediately. This includes any register set with
the “AT Command - Queue Parameter Value” (0x09) API type.
Figure305. ATCommandFrames
Figure306. Example:APIframeswhenreadingtheDLparametervalueofthemodule.
Figure307. Example:APIframeswhenmodifyingtheDLparametervalueofthemodule.
AT Command - Queue Parameter Value
API Identifier Value: 0x09
This API type allows module parameters to be queried or set. In contrast to the “AT Command” API
type, new parameter values are queued and not applied until either the “AT Command” (0x08) API
type or the AC (Apply Changes) command is issued. Register queries (reading parameter values)
are returned immediately.
Figure308. ATCommandFrames
(Notethatframesareidenticaltothe“ATCommand”APItypeexceptfortheAPIidentifier.)
cmdDat a0x 08
Length ChecksumStart Delimiter Frame Data
Identifier-specific DataAPI Identifier
MSB LSB0x 7E 1 ByteAPI-specif ic St ructure
Frame ID ( Byte 5)
Identifies the UART data frame for the host to
correlate with a subsequent ACK (acknowledgement).
If set to ‘0’, no response is sent.
AT Command ( Bytes 6 -7 )
Command Name - Two
ASCII characters that
identify the AT Command.
Parameter Value (Byte( s) 8-n)
If present, indicates the requested parameter
value to set the given register.
If no characters present, register is queried.
*Length[Bytes]=APIIdentifier+FrameID+ATC ommand
**“R ”valuewasarbitrarilyselected.
Checksum
0x15
Byte 8
AT Command
Bytes 6-7
Frame ID**
0x52 (R)
Byte 5
0x44 (D) 0x4C (L)
API Identifier
0x08
Byte 4
Start Delimiter
Byte 1
0x7E
Length*
Bytes 2-3
0x00 0x04
*Length[Bytes]=APIId entifier+FrameID+ATCommand+ParameterValue
**“M”valuewasarbitrarilyselected.
Checksum
0x0C
Byte 12
AT Command
Bytes 6-7
0x44 (D) 0x4C (L)
Parameter Value
0x00000FFF
Bytes 8-11
Frame ID**
0x4D (M)
Byte 5
Length*
Bytes 2-3
0x00 0x08
API Identifier
0x08
Byte 4
Start Delimiter
Byte 1
0x7E
cmdData0x09
Length ChecksumStart Delimiter Frame Data
Identifier-specific DataAPI Identifier
MSB LSB0x7E 1 ByteAPI-specific Structure
Frame ID (Byte 5)
Identifies the UART data frame for the host to
correlate with a subsequent ACK (acknowledgement).
If set to ‘0’, no response is requested.
AT Command (Bytes 6-7)
Command Name - Two
ASCII characters that
identify the AT Command.
Parameter Value (Byte(s) 8-n)
If present, indicates the requested paramet er
value to set the given register.
If no characters present, register is queried.