Google Search Bar

Custom Search

Remote Configuration Commands of xbee

product-manual_xb_zigbee_oem_rf-modules_v1.x1x.book

The API firmware has provisions to send configuration commands to remote devices using the Remote Command Request API frame. 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 module using the Remote Command Request API frame 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 the 64-bit address and the 16-bit address (if known) of the remote device, the correct command options value, and the command and parameter data (optional). 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 indicates 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.

0 comments:

Post a Comment

 
Copyright 2009 MEDIA AT ELECTONIC
Design by BloggerThemes