通过Iot Hub将固件下载到我的设备 [英] Download firmware to my device though Iot Hub

查看:84
本文介绍了通过Iot Hub将固件下载到我的设备的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨!
$


我有一个关于通过IoT Hub下载到我的设备的固件的问题。



我在IoT Hub上做的是,当您想要为所有设备更新/下载新固件时,您通过IoT Hub完成了所有工作。例如,我需要在特定位置更新我所有设备上的代码。然后我在一个文件中写了一些代码,
让我们说python。然后,我以某种方式在IoT Hub中选择了该文件并说,我的所有设备都标有"斯德哥尔摩"标签。应该在连接时下载此固件。



但是我遵循了这个指南&https://docs.microsoft.com/en-us/azure/iot-hub/ tutorial-firmware-update #start-the-firmware-update

Hi!

I have a question regarding firmware download to my devices through IoT Hub.

What i though you did on IoT Hub was that when you wanted to update/download a new firmware to all your devices you did everything though IoT Hub. For exampel, i need to update the code on all my devices at a specific location. I then wrote some code in a file, lets say python. I then somehow picked that file in IoT Hub and said that, all my devices with the tag "Stockholm" should download this firmware when they connect.

But i followed this guide https://docs.microsoft.com/en-us/azure/iot-hub/tutorial-firmware-update#start-the-firmware-update

正如我所看到的,我在这里所做的就是那个。我有我的Raspberry Pi,我下载了一些"假的"手动固件并且说具有标签"冷却器"的每个设备都是固定的。应该有这个下载。

And as i see it, what i did here was that. I had my Raspberry Pi, i downloaded some "fake" firmware manually and said that every device with the tag "chiller" shall have this download.

但是使用这种方法我需要在设备上手动操作。 
$


是否有可能在IoT Hub上直接执行此操作,如果是这样,我该怎么做?

But with this method i need to be manually on the device. 

Is it possible to do this directly on IoT Hub, and if so, how do i do it ?

问候/ Linus Excell

Regards / Linus Excell

推荐答案

Hi Linus,

Hi Linus,

你可能想看看
< a href ="https:/ / / / / / / / / / / / / b $ b Azure IoT自动设备管理有助于大规模部署固件更新以获取更多详细信息。

You might want to take a look at the Azure IoT automatic device management helps deploying firmware updates at scale for more details.

另外,查看视频

使用Azure IoT中心中的自动设备管理更新Mongoose操作系统
以获取有关固件更新的更多上下文。

Also, check the video Update Mongoose OS with Automatic Device Management in Azure IoT Hub to get more context on firmware update.

这篇关于通过Iot Hub将固件下载到我的设备的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆