AT+HTTPCPOST HEAP LIMITATION

claudioBrescia
Posts: 1
Joined: Thu Sep 28, 2023 7:34 pm

AT+HTTPCPOST HEAP LIMITATION

Postby claudioBrescia » Thu Sep 28, 2023 7:42 pm

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

esp-at
Posts: 200
Joined: Mon May 09, 2022 3:00 am

Re: AT+HTTPCPOST HEAP LIMITATION

Postby esp-at » Sat Oct 07, 2023 12:05 pm

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.

Who is online

Users browsing this forum: No registered users and 57 guests