espressif / esp-aws-iot

AWS IoT SDK for ESP32 based chipsets
Apache License 2.0
257 stars 154 forks source link

Connection issue and memory analysis (CA-213) #116

Open git4gaurav opened 2 years ago

git4gaurav commented 2 years ago

Hi, Following is the observations found for TLS connection for OTA MQTT. Mobile hotspot and internet connection options changed and below shown below: image TLS disconnected error appears and When connection of internet is re-stored (WiFi remains connected as hotspot ON), 3 kB memory reduces on each attempt. Wanted to know the cause for the same and how to resolve.

If hotspot is closed and re-connected then memory leak of 3 kB is not seen. As WiFi connects and TLS connection also made.

For OTA MQTT heap used is approx 96 kB. can this be reduced as ESP32C3's RAM is used up in other applications.

Thanks.