Operate in API mode
Frame data
XBee 868LP RF Modules User Guide
181
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
Frame data
fields
Offset Description
Frame type
3
0x17
Frame ID
4
Identifies the UART 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.
Broadcast = 0x000000000000FFFF.
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
AC
command 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.
Example
The following example sends a remote command:
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.
Frame data fields
Offset
Example
Start delimiter
0
0x7E