IoT::XBee

struct TransmitRequest

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

Description

A TX Request message will cause the module to transmit data as an RF Packet.

Frame Type: 0x00 or 0x01

Variables

deviceOrNetworkAddress

std::string deviceOrNetworkAddress;

Hexadecimal text representation of 64-bit address of the destination device. Can be "000000000000FFFF" for broadcast. Alternatively, the 16-bit network address can also be specified, which can be "FFFF" for broadcast.

frameID

Poco::UInt8 frameID;

Identifies the serial port data frame for the host to correlate with a subsequent ACK (acknowledgement). If set to 0, no response is sent.

options

Poco::UInt8 options;

Option flags.

  • 0x01 = Disable ACK
  • 0x04 = Send packet with Broadcast Pan ID

All other bits must be set to 0.

payload

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

Up to 100 bytes of payload.

Securely control IoT edge devices from anywhere   Connect a Device