Hi,
We wanted to migrate our device to Azure from AWS, we have downloaded Azure SDK and checked the examples for CC3220SF. I did not see any example for the OTA (over the air) firmware upgrade for CC3220SF device, I request you to share the example for OTA with Azure using MQTT. Let me know any OTA agent support for the azure is available (Like AWS OTA agent).
If sharing of the example is not possible let me know the procedure to perform OTA over MQTT (any document). I was searching for the information online but could not get any information like on what topics the device must subscribe and publish the request for firmware download.
We are expecting the firmware to receive in chunks and store.
Operating System: FreeRTOS
Device: CC3220SF
Cloud: Azure
I got one link in Azure site and it has some node.js example, but it is of no use to us as we develop our code in C language, this only talks most from the cloud side implementation. node.js example I checked but not much detailed information on MQTT topics and procedure.
https://learn.microsoft.com/en-us/azure/iot-hub/tutorial-firmware-update
I request you to help me in this regard, please provide a detailed information from the device side (hardware) OTA firmware upgrade. Information required is mentioned below.
• Detailed Procedure to be performed on the SMS device firmware download using MQTT [ I know, 1) check the twin, 2) download firmware 3) verify the firmware 4) reboot ]
• On what topic does the device subscribe for MQTT
• On what topics does it send request to download the firmware in chunks for MQTT. • How to update status to the Azure cloud, what are the status codes?
• Is there any job document involved in the process of OTA , if yes what are the contents and how to download it on to the device ?
• How the file size and signature is transferred to the device ?
Note : Any C example for any other hardware device is available please provide us. Our device is a sleeping end device.
Thanks,
Harish