IoT::XBee

struct SensorRead

File Information

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

Description

XBee Sensor Read Indicator.

Frame Type: 0x94

Variables

analogSamples

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

16-bit analog sample values from four ADCs A, B, C, D.

deviceAddress

std::string deviceAddress;

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

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

sensor

Poco::UInt8 sensor;

1-Wire Sensors:

  • 0x01 = A/D Sensor Read
  • 0x02 = Temperature Sensor Read
  • 0x60 = Water present (module CD pin low)

temperature

Poco::Int16 temperature;

Indicates the two-byte value read from a digital thermometer if present.

Securely control IoT edge devices from anywhere   Connect a Device