Operate in API mode API frames
XBee®/XBee-PRO SX RF Module User Guide
129
Remote AT Command Request frame - 0x17
Description
Used to query or set device parameters on a remote device. For parameter changes on the remote
device to take effect, you must apply changes, either by setting the Apply Changes options bit, or by
sending an AC command to the remote.
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 0x17
Frame ID 4
Identifies the data frame for the host to correlate with a subsequent ACK. If
set to 0, the device does not send a response.
64-bit
destination
address
5-12
MSB first, LSB last. Set to the 64-bit address of the destination device.
Reserved 13-14
Set to 0xFFFE.
Remote
command
options
15
0x02 = Apply changes on remote. If you do not set this, you must send the
ACcommand for changes to take effect.
Set all other bits to 0.
AT
command
16-17
Command name: two ASCII characters that identify the command.
Command
parameter
18-n If present, indicates the parameter value you request for a given register. If
no characters are present, it queries the register. Numeric parameter values
are given in binary format.
Example
The following example sends a remote command to:
n Change the broadcast hops register on a remote device to 1 (broadcasts go to 1-hop neighbors
only).
n Apply changes so the new configuration value takes effect immediately.
In this example, the 64-bit address of the remote device is 0x0013A200 40401122.