Azure IoT Development Cookbook
上QQ阅读APP看书,第一时间看更新

There's more...

Device identities are represented as JSON documents. They consists of properties such as:

  • deviceId: This represents the unique identification or the IoT device
  • ETag: This is a string representing a weak ETag for the device identity
  • symkey: This is a composite object containing a primary and a secondary key, stored in base64 format
  • status: If enabled, the device can connect with IoT Hub. If disabled, this device cannot access any device-facing endpoint
  • statusReason: A string that can be used to store the reason for status changes
  • connectionState: It can be connected or disconnected