Expand description

DeviceShadow processing that is not device or shadow specific (see also the DeviceAdapter). The DeviceShadow concept includes the named shadows for device state and iot state..

Operations:

  • Retrieving DeviceShadow:
    • device or cloud client => IoT : get message
  • Updating DeviceShadow:
    • device => IoT : update message with state reported
    • cloud client => IoT : update message with state desired
  • Deleting DeviceShadow:
    • device or cloud client => IoT :
      • a property : update message with property : null
      • entire shadow : delete message

To enable low coupling between adapting to the device specificity and the generic shadow, the device specific processing is defined in the device_adapter::DeviceState.

Structs

DeviceShadow holds the attributes for handling a shadow

DeviceShadowDescriptor holds the easy accessible parameters of a DeviceShadow

Structure holding the DeviceShadowDescriptor for device and iot shadows

ShadowTopic holds pob/sub prefix and shadow name

Enums

Constants

Device Shadow Publishing topics

Device Shadow Subscribing topics

Functions

A helper function for building JSON with desired and reported nodfes or reported only.