Hi,
I'm referring to https://github.com/espressif/esp-aws-iot/tree/release/beta/examples/ota/ota_mqtt for OTA over MQTT on ESP32C3 device. As per my understanding this framework is modified based on aws-iot-device-sdk-embedded-C release by AWS. Currently issue faced is:
- Heap memory leak (3 kB) found on internet re-connect (WiFi=on, Internet=off). But no/ less leak on WiFi re-connect.
- TLS break issue seen when internet is turned off.
Please suggest how to resolve this.
Hi. Can you please supply more details? Do you mean re-connection after the device has re-booted and started running the new firmware version? I am not quite grasping how there would be a leak then; the re-boot will have freed everything and I don't think anything should have been freed yet on the new boot, so I don't see the opportunity for a leak to occur. I think I misunderstand something.