0

I have microcontroller ASUS Tinker Board 2, with Debian 10 on it. I want to implement Device Update, installed deviceupdate-agent on device. Made configuration and can listen for updates. The question is how to create import manifest for updating device image or device version. Should I load image file or it will download automatically.

Vy Do
  • 46,709
  • 59
  • 215
  • 313
DaliDade
  • 11
  • 2
  • IoT Hub update [manifest](https://learn.microsoft.com/en-us/azure/iot-hub-device-update/update-manifest) – Sampath Jul 05 '23 at 12:19

1 Answers1

0

Reference taken from Update to be imported into Azure Device Update for IoT Hub

  • Azure CLI extensions to be installed before use. The azure-iot extension is used in the article’s commands. Use the command az extension update --name azure-iotto ensure sure you’re using the most recent version of the extension.

  • Update import manifest :

az iot du update init v5 \
    --update-provider <replace with your Provider> \
    --update-name <replace with your update Name> \
    --update-version <replace with your update Version> \
    --compat <replace with the property name>=<replace with the value your device will report> <replace with the property name>=<replace with the value your device will report> \
    --step handler=<replace with your chosen handler> properties=<replace with any handler properties (JSON-formatted)> \
    --file path=<replace with path(s) to your update file(s), including the full file name>

Rajesh Mopati
  • 1,329
  • 1
  • 2
  • 7