Page 1 of 1

AT+HTTPCPOST HEAP LIMITATION

Posted: Thu Sep 28, 2023 7:42 pm
by claudioBrescia
Hello evryone

we have an application based on ESP32-C3 MINI-1, we are sending and receiving data from a remote webserver with POST and GET commands. We have used the AT binary file provided from Espressif.

under the 100 KB of data there are no issue, but we need now to send up to 400 KB of data, but there is a physical limitation from the heap size of the ESP32-C3...
We are a bit stuck due to we can't actually modify the architecture of the remote server (post / get sequences)...

Due to the small amount of internal RAM, is also not suitable to modify the heap size.. so what can be the solution?

Thanks in advance

Re: AT+HTTPCPOST HEAP LIMITATION

Posted: Sat Oct 07, 2023 12:05 pm
by esp-at
you can try to establish tcp/ssl connection by AT+CIPSTART command firstly, and then construct the http get/post packet content on MCU side, and send it to ESP module by AT+CIPSEND/AT+CIPSENDL command. Once MCU received http response from http server, then MCU parses the wanted data from +IPD data.