espressif / esp-aws-iot

AWS IoT SDK for ESP32 based chipsets
Apache License 2.0
267 stars 164 forks source link

Customize software to do OTA with cellular modem (CA-333) #218

Open Nhuttr446 opened 6 months ago

Nhuttr446 commented 6 months ago

Hi,

Recently, I've been trying to test out the OTA of ESP32 with AWS, I've used the esp-aws-iot library to test out the examples for both MQTT and HTTP OTA. So far, I've been able to connect to AWS and done Jobs (OTA) by using these examples, however, the challenge is about doing OTA via Serial Line with a cellular modem.

As I understand, the esp-aws-iot library has their own network_interface to handle the connection to Internet and TLS/SSL connection, and for my challenge, I have to re-do/redirect the connection to Serial Line/AT commands to handle the connection and get the firmware from AWS.

At the moment, I don't know where to start or is this possible to do?! Do you guys have any ideas for this? Anyone has done this before? Please helppp !!! :?

Technical points:

Thank everyone!