【问题标题】:Can I set disabled the device interaction with the IoT Hub to use Azure IoT Hub device provisioning service?我可以设置禁用与 IoT Hub 的设备交互以使用 Azure IoT Hub 设备预配服务吗?
【发布时间】:2023-03-30 22:29:01
【问题描述】:

我使用 Azure IoT 中心 DPS 注册设备。
从 DPS 注册设备时可以设置禁用 IoT 设备状态吗?
怎么做?

I want to set this status

{ "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


    【解决方案1】:

    您想向 DPS 注册设备并将其添加到集线器并处于禁用状态?你不能那样做。

    【讨论】:

    • 如果你的答案完整会更好,可以给出步骤和/或如何完成
    • 我很具体。这是不可能的。您以后可以随时通过门户禁用它,但这并不能解决问题。
    • 是的,我希望至少能获得一些关于如何操作的教程的链接。谢谢
    猜你喜欢
    • 2018-06-28
    • 2017-04-15
    • 1970-01-01
    • 1970-01-01
    • 2020-02-18
    • 2021-01-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多