Page 1 of 1

Regarding string compression.

Posted: Tue Aug 25, 2020 12:41 pm
by neeraj3728
Hello,
I am using ESP32-wroom-32 & have written code to scan BLE and store it in a string by appending it. but I have found that after storing around 150 MAC addresses to post it on HTTP when I check ESP.getFreeHeap() it is almost exhausted. could you please suggest me any option to compress stored data?

Thanks in advance.

Thanks and regards,
Neeraj

Re: Regarding string compression.

Posted: Tue Aug 25, 2020 1:36 pm
by ESP_Sprite
Sounds like you're doing something wrong... 150 MAC addresses total something like 2.7K, which is normally something that easily fits in ESP32 memory. Can you post the code you're using?