Skip to content

Device state messages

Device state is a virtual representation of a device. These are JSON documents that store device state information including metadata, configurations, and conditions. It can be used to:

  • Store device-specific metadata in the cloud
  • Report current state information of a device
  • Configure conditions and configuration to device

It includes:

  • Desired properties : Applications can set desired properties, and the device can read them. The device app can also receive notifications of changes in the desired properties.
  • Reported properties : The device can set reported properties, and the applications can read them.

Types

AWS - Shadow

Azure - Device twin