I'm currently having a custom stm32 board UART interfaced with SIMCOM gsm module, using AT commands sending temperature value and voltage value to the IotHub and able view the data. Now I want to do a firmware update using the azure. I have a .bin file stored in azure Blob storage. To do this I have came across many references but not satisfied with any. Is there only device twin or direct method to do this. If yes, any simple explanation on how to do it in azure side and my stm32 board side or is there any other option to achieve this.
In azure IOTHUB -> devices -> Device twin -. Json file
I changed this in desired property
{ "otaupdate": "pending", "url": "my_blob_url", "version": "new" }
Then dont know much step to do and how to let know my stm32 board about OTA.
Another method is to configure message routing for Azure IoT Hub. The steps to configure message routing for Azure IoT Hub are as follows:
Route details:
Custom endpoint: