about aws cloud ota using mqtt on esp32
Posted: Tue Mar 19, 2019 3:54 am
Hi,
I have successfully interact with the aws cloud using the example in esp-idf (esp-idf/examples/protocols/aws_iot/thing_shadow). However, I am confused when I try to implement the ota features.
For the example provided in esp-idf/examples/system/ota/, it is using http to to get the image and then complete the ota process. However, if I want to use aws cloud to trigger ota using the aws iot core, it is supposed to use mqtt method to get the image. As we need to keep track to the ota status using the aws cloud platform so it seems we have no other way but to use the one provided by aws (mqtt method) rather than the http method provided in the esp-idf.
So I wonder if there is a plan to provide example on aws mqtt ota method in esp-idf? If not, any idea how to implement it to a esp-idf based application rather then start over from a pure aws freertos application provided by aws ?
Thanks,
Jones
I have successfully interact with the aws cloud using the example in esp-idf (esp-idf/examples/protocols/aws_iot/thing_shadow). However, I am confused when I try to implement the ota features.
For the example provided in esp-idf/examples/system/ota/, it is using http to to get the image and then complete the ota process. However, if I want to use aws cloud to trigger ota using the aws iot core, it is supposed to use mqtt method to get the image. As we need to keep track to the ota status using the aws cloud platform so it seems we have no other way but to use the one provided by aws (mqtt method) rather than the http method provided in the esp-idf.
So I wonder if there is a plan to provide example on aws mqtt ota method in esp-idf? If not, any idea how to implement it to a esp-idf based application rather then start over from a pure aws freertos application provided by aws ?
Thanks,
Jones