Module iot_device_bridge::device_shadow
source · [−]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
- device or cloud client => IoT :
- Updating DeviceShadow:
- device => IoT :
update
message with statereported
- cloud client => IoT :
update
message with statedesired
- device => IoT :
- Deleting DeviceShadow:
- device or cloud client => IoT :
- a property :
update
message with property : null - entire shadow :
delete
message
- a property :
- device or cloud client => IoT :
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.