IoT::XBee

struct RemoteATCommand

Library: IoT/XBee
Package: XBeeNode
Header: IoT/XBee/XBeeNode.h

Description

An AT command sent to a remote XBee module.

Frame Type: 0x17

Variables

command

std::string command;

Two character AT command.

deviceAddress

std::string deviceAddress;

Hexadecimal text representation of 64-bit address of the destination device. Can be "0000000000000000" or empty for the coordinator, or "000000000000FFFF" for broadcast.

frameID

Poco::UInt8 frameID;

Correlates command frame with response, if a response is required. If set to zero, no response will be sent.

networkAddress

std::string networkAddress;

Hexadecimal text representation of the 16-bit network address of the device. Can be left empty or set to "FFFE" if the address is unknown, or if sending a broadcast.

options

Poco::UInt8 options;

Bitfield to enable various remote command options. Supported values include:

  • 0x01 - Disable ACK
  • 0x02 - Apply changes on remote. (If not set, AC command must be sent before changes will take effect.)
  • 0x40 - Use the extended transmission timeout for this destination.

Setting the extended timeout bit causes the stack to set the extended transmission timeout for the destination address (see chapter 4). All unused and unsupported bits must be set to 0.

parameters

std::vector < Poco::UInt8 > parameters;

Command-specific parameter bytes.

Securely control IoT edge devices from anywhere   Connect a Device