AWS IoT Device Shadow service and MQTT topics¶
On AWS, the IoT Device Shadow service is used to send device data and configuration through the JSON shadow documents. A shadow document describes the different states of the device through a state property. Examples of device states are:
- Reported state
- Desired state
Reported state¶
The document is described in JSON schema file. See JSON document for a sample device state.
Desired state¶
The document contains the cfg
object described in the above schema.