设备接入 IOTDA-设备侧获取平台的设备影子数据:下行响应示例

时间:2024-06-28 09:24:58

下行响应示例

Topic:$oc/devices/{device_id}/sys/shadow/get/response/request_id={request_id}
数据格式:  
{
  "object_device_id": "40fe3542-f4cc-4b6a-98c3-61a49ba1acd4",
  "shadow": [
    {
      "service_id": "WaterMeter",
      "desired": {
        "properties": {
          "temperature": "60"
        },
        "event_time": "20151212T121212Z"
      },
      "reported": {
        "properties": {
          "temperature": "60"
        },
        "event_time": "20151212T121212Z"
      },
      "version": 1
    }
  ]
}
support.huaweicloud.com/api-iothub/iot_06_v5_3012.html