User Guide

XBee®/XBeePRO®RFModules‐802.15.4‐v1.xEx[2009.09.23]
©2009DigiInternatonal,Inc. 27
Remote Configuration Commands
The API firmware has provisions to send configuration commands to remote devices using the
Remote Command Request API frame (see API Operation). This API frame can be used to send
commands to a remote module to read or set command parameters.
The API firmware has provisions to send configuration commands (set or read) to a remote mod-
ule using the Remote Command Request API frame (see API Operations). Remote commands can
be issued to read or set command parameters on a remote device.
Sending a Remote Command
To send a remote command, the Remote Command Request frame should be populated with val-
ues for the 64 bit and 16 bit addresses. If 64 bit addressing is desired then the 16 bit address field
should be filled with 0xFFFE. If any value other than 0xFFFE is used in the 16 bit address field
then the 64 bit address field will be ignored and 16 bit addressing will be used. If a command
response is desired, the Frame ID should be set to a non-zero value.
Applying Changes on Remote
When remote commands are used to change command parameter settings on a remote device,
parameter changes do not take effect until the changes are applied. For example, changing the
BD parameter will not change the actual serial interface rate on the remote until the changes are
applied. Changes can be applied using remote commands in one of three ways:
Set the apply changes option bit in the API frame
Issue an AC command to the remote device
Issue a WR + FR command to the remote device to save changes and reset the device.
Remote Command Responses
If the remote device receives a remote command request transmission, and the API frame ID is
non-zero, the remote will send a remote command response transmission back to the device that
sent the remote command. When a remote command response transmission is received, a device
sends a remote command response API frame out its UART. The remote command response indi-
cates the status of the command (success, or reason for failure), and in the case of a command
query, it will include the register value.
The device that sends a remote command will not receive a remote command response frame if:
The destination device could not be reached
The frame ID in the remote command request is set to 0.
Command Reference Tables
XBee®/XBee-PRO® RF Modules expect numerical values in hexadecimal. Hexadecimal values are
designated by a “0x” prefix. Decimal equivalents are designated by a “d” suffix. Commands are
contained within the following command categories (listed in the order that their tables appear):
•Special
• Networking & Security
• RF Interfacing
• Sleep (Low Power)
• Serial Interfacing
•I/O Settings
•Diagnostics
• AT Command Options
All modules within a PAN should operate using the same firmware version.