IoT::XBee

struct ZigBeeReceivePacket

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 serial port using this message type.

Frame Type: 0x90

Variables

deviceAddress

std::string deviceAddress;

Hexadecimal text representation of 64-bit address of the destination device.

networkAddress

std::string networkAddress;

Hexadecimal text representation of the 16-bit network address of the device.

options

Poco::UInt8 options;

Receive options:

  • 0x01 - Packet Acknowledged
  • 0x02 - Packet was a broadcast packet
  • 0x20 - Packet encrypted with APS encryption
  • 0x40 - Packet sent with extended timeout enabled

Note: Option values can be combined. For example, a 0x40 and a 0x01 will show as a 0x41. Other possible values 0x00, 0x21, 0x22, 0x41, 0x42, 0x60, 0x61, 0x62.

payload

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

Received payload.

Securely control IoT edge devices from anywhere   Connect a Device