IoT::XBee

struct ReceivePacket

File Information

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

Description

When the module receives an RF packet, it is sent out the UART using this message type.

Frame Type: 0x80, 0x81, 0x82 or 0x83

Variables

deviceOrNetworkAddress

std::string deviceOrNetworkAddress;

Hexadecimal text representation of 64-bit address of the destination device, or 16-bit network address.

options

Poco::UInt8 options;

Option flags:

  • bit 0 [reserved]
  • bit 1 = Address broadcast
  • bit 2 = PAN broadcast
  • bits 3-7 [reserved]

payload

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

Up to 100 bytes of payload.

rssi

Poco::UInt8 rssi;

Received Signal Strength Indicator - Hexadecimal equivalent of (-dBm) value. For example: If RX signal strength = -40 dBm, “0x28” (40 decimal) is returned.

Securely control IoT edge devices from anywhere   Connect a Device