简体   繁体   English

Rest apis 用于物联网集线器设备的固件更新

[英]Rest apis for firmware update for iot hub devices

Is it possible to do an over the air(OTA) firmware update, using REST APIs, for the devices registered in azure IOT hub?是否可以使用 REST API 对在 azure IOT 集线器中注册的设备进行无线(OTA)固件更新? If so, can someone share the API urls and the required headers.如果是这样,有人可以分享 API 网址和所需的标题。 In the azure documentation, I was only able to find the CLI method for firmware update.在 azure 文档中,我只能找到固件更新的 CLI 方法。 So please do help, if anyone is aware of the REST APIs.因此,如果有人知道 REST API,请提供帮助。

If you are referring to this doc - Tutorial: Implement a device firmware update process - please understand that this is an example on how to monitor the firmware update process remotely through a back-end application connected to your hub.如果您参考此文档 - 教程:实施设备固件更新过程- 请理解这是一个关于如何通过连接到集线器的后端应用程序远程监控固件更新过程的示例

在此处输入图片说明

As most of the OTA process is an exchange of both desired and reported properties of your device Twin , the REST API definition above should get you started.由于大多数 OTA 过程是交换设备 Twin 的所需属性和报告属性,因此上面的 REST API 定义应该可以帮助您入门。

Reference:参考:

Take a look here - https://docs.microsoft.com/en-us/rest/api/deviceupdate/ All the REST APIs to perform an end-to-end update are documented here看看这里 - https: //docs.microsoft.com/en-us/rest/api/deviceupdate/ 执行端到端更新的所有 REST API 都记录在这里

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM