Operate in API mode
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 local command parameter
Host set the NI string of the local device to "End Device" using a 0x08 request frame.
The corresponding Description with a matching Frame ID is emitted as a response:
7E 00 05 88 01 4E 49 00 DF
Frame type Frame ID
0x88
0xA1
Response
Matches request "NI"
Query local command parameter
Host queries the temperature of the local device—TP command—using a 0x08 request frame.
The corresponding Description with a matching Frame ID is emitted with the temperature value as a
response:
7E 00 07 88 01 54 50 00 FF FE D5
Frame type
Frame ID
0x88
0x17
Response
Matches request
XBee/XBee-PRO S2C 802.15.4 RF Module User Guide
AT command Command Status Command data
0x4E49
0x00
Success
AT command
Command Status
0x5450
0x00
"TP"
Success
Frame descriptions
(omitted)
Parameter changes return no
data
Command data
0xFFFE
-2 °C
131