Remote Configuration Commands; Send A Remote Command; Apply Changes On Remote Devices; Remote Command Responses - Digi XBee SX 868 User Manual

Radio frequency (rf) module
Hide thumbs Also See for XBee SX 868:
Table of Contents

Advertisement

Advanced application features

Remote configuration commands

The API firmware has provisions to send configuration commands to remote devices using the Remote
Command Request API frame (see
remote device to read or set command parameters.

Send a remote command

To send a remote command, populate the Remote Command Request frame with:
64-bit address of the remote device
n
Correct command options value
n
Command and parameter data (optional)
n
If you want a command response, set the Frame ID set to a non-zero value. Only unicasts of remote
commands are supported, and remote commands cannot be broadcast.

Apply changes on remote devices

When you use remote commands to change command parameter settings on a remote device,
parameter changes do not take effect until you apply the changes. For example, changing the BD
parameter does not change the serial interface on the remote until the changes are applied. To apply
changes, do one of the following:
Set the apply changes option bit in the API frame.
n
Issue an AC (Apply Changes) command to the remote device.
n
Issue a WR + FR command to the remote device to save changes and reset the device.
n

Remote command responses

If the remote device receives a remote command request transmission, and the API frame ID is non-
zero, the remote sends 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 serial port. The remote command response indicates the
status of the command (success, or reason for failure), and in the case of a command query, it
includes the register value. The device that sends a remote command will not receive a remote
command response frame if either of the following conditions exist:
The destination device could not be reached.
n
The frame ID in the remote command request is set to 0.
n

Network commissioning and diagnostics

We call the process of discovering and configuring devices in a network for operation, "network
commissioning." Devices include several device discovery and configuration features. In addition to
configuring devices, you must develop a strategy to place devices to ensure reliable routes. To
accommodate these requirements, modules include features to aid in placing devices, configuring
devices, and network diagnostics.
XBee® SX 868 RF Module User Guide
Operate in API
mode). Use the API frame to send commands to a
Remote configuration commands
60

Advertisement

Table of Contents
loading

Table of Contents