IoT::XBee

struct IOSample

File Information

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

Description

ZigBee IO Data Sample Rx Indicator.

Frame Type: 0x92

Variables

analogChannelMask

Poco::UInt8 analogChannelMask;

Bitmask field that indicates which analog IO lines on the remote have sampling enabled (if any).

analogSamples

std::vector < Poco::Int16 > analogSamples;

If the sample set includes any analog input lines (analogChannelMask > 0), each enabled analog input returns a 2-byte value indicating the A/D measurement of that input. Analog samples are ordered sequentially from AD0/DIO0 to AD3/DIO3, to the supply voltage.

deviceAddress

std::string deviceAddress;

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

digitalChannelMask

Poco::UInt16 digitalChannelMask;

Bitmask field that indicates which digital IO lines on the remote have sampling enabled (if any).

digitalSamples

Poco::UInt16 digitalSamples;

If the sample set includes any digital IO lines (digitalChannelMask > 0), these two bytes contain samples for all enabled digital IO lines DIO lines that do not have sampling enabled return 0. Bits in these 2 bytes map the same as they do in the digitalChannelMask field.

nSampleSets

Poco::UInt8 nSampleSets;

Number of sample sets. Always 1.

networkAddress

std::string networkAddress;

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

options

Poco::UInt8 options;

Receive options:

  • 0x01 - Packet Acknowledged
  • 0x02 - Packet was a broadcast packet
Securely control IoT edge devices from anywhere   Connect a Device