esp_bufi_send_custom_data() function not free the memory used
Posted: Tue Jul 26, 2022 9:13 am
Hello
I use the blufi library to configure Wifi on ESP32 and send a 1Mb file to ESP32. For this, the file is sent in blocks of 255 bytes
The ESP32 responds for each received block with, esp_bufi_send_custom_data, and the heap decreases. I can't receive the full file because at 91%, the heap memory is not enough and I get the error GATT not resources.
what can be done? why doesn't esp_bufi_send_custom_data release all the memory it uses?
I use the blufi library to configure Wifi on ESP32 and send a 1Mb file to ESP32. For this, the file is sent in blocks of 255 bytes
The ESP32 responds for each received block with, esp_bufi_send_custom_data, and the heap decreases. I can't receive the full file because at 91%, the heap memory is not enough and I get the error GATT not resources.
what can be done? why doesn't esp_bufi_send_custom_data release all the memory it uses?