Operate in API mode
Frame descriptions
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
139
Offset Size
Frame Field
Description
18-n
variable
Parameter
value
(optional)
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.
EOF
8-bit
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.
Set remote command parameter
Host set the
NI
string of a remote device to "
Remote
" using a
Remote AT Command Request - 0x17
.
The corresponding 0x97 Remote AT Command Response with a matching Frame ID is emitted as a
response:
7E 00 0F
97 27 00 13 A2 00 12 34 56 78 12 7E 4E 49 00
51
Frame
type
Frame ID
64-bit
source
16-bit
source
AT
command
Command
Status
Command data
0x97
0x27
0x0013A200
12345678
0x127E
0x4E49
0x00
(omitted)
Response Matches
request
Network
address
"NI"
Success
Parameter changes
return no data
Transmission failure
Host queued the the PAN ID change of a remote device using a
Remote AT Command Request - 0x17
Due to existing network congestion, the host will retry any failed attempts.
The corresponding 0x97 Remote AT Command Response with a matching Frame ID is emitted as a
response:
7E 00 0F
97 27 00 13 A2 00 12 34 56 78 FF FE 49 44 04
EA
Frame
type
Frame ID
64-bit
source
16-bit
source
AT
command
Command
Status
Command data
0x97
0x27
0x0013A200
12345678
0xFFFE
0x4944
0x04
(omitted)
Response Matches
request
Unknown "ID"
Transmission
failure
Parameter changes
return no data
Query remote command parameter
Query the temperature of a remote device—.