【发布时间】:2023-03-30 22:29:01
【问题描述】:
我使用 Azure IoT 中心 DPS 注册设备。
从 DPS 注册设备时可以设置禁用 IoT 设备状态吗?
怎么做?
{ "deviceId": "test", "etag": "AAAAAAAAAAE=", "deviceEtag": "NTI1OTc3Nzkx", "status": "disabled", "statusUpdateTime": "0001-01-01T00:00:00Z", "connectionState": "断开连接",
"lastActivityTime": "0001-01-01T00:00:00Z",
“cloudToDeviceMessageCount”:0,“authenticationType”:“sas”,
“x509指纹”:{ “primaryThumbprint”:空, “secondaryThumbprint”:空},“版本”:2,“属性”:{ “想要的”:{ “$元数据”:{ "$lastUpdated": "2020-01-08T15:09:56.0402103Z" }, “$版本”:1 }, “报告”:{ “$元数据”:{ "$lastUpdated": "2020-01-08T15:09:56.0402103Z" }, “$版本”:1 } },“能力”:{ “iotEdge”:假 } }
【问题讨论】:
标签: azure azure-iot-hub provisioning