Azure IoT Shadow and topics

In Azure, the IoT Hub Device Twins are 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 the JSON schema file for the reported state.

See JSON document containing a reported state for a sample device state.

Desired state

The document is described in the JSON schema file for the desired state.

See the JSON document containing a desired state for a sample device state.