IoT::DeviceStatus

struct StatusUpdate

File Information

Library: IoT/DeviceStatus
Package: DeviceStatusService
Header: IoT/DeviceStatus/DeviceStatusService.h

Constructors

StatusUpdate inline

StatusUpdate();

Variables

acknowledgeable

bool acknowledgeable;

Optional flag denoting whether the status update can be acknowledged by the user. Once a status update has been acknowledged, it will no longer affect the global (or source-specific) device status.

Defaults to true.

messageClass

std::string messageClass;

An string that identifies the message class.

If non-empty, any previously posted message with the same class will be removed before the new message is added. Therefore, at most one message of a given non-empty message class is stored.

source

std::string source;

Optional source of the status update. Can be an application specific name of a subsystem or device.

status

DeviceStatus status;

New device status.

text

std::string text;

The message text.

Securely control IoT edge devices from anywhere   Connect a Device