0 votes
in Touch Interface by (120 points)
I'm trying to extend my weather station to get data from other sources that use https. I am not having any success I get an exception as soon as I try and make a connection using the clientSecure library, I'm assuming it lack of memory. Just wondering if anyone has been able to do this ?

1 Answer

0 votes
by (10.3k points)
You are right, that is due to lack of memory. The framebuffer of the MiniGrafx library consumes a big part of the the RAM. The SSL library then tries to allocate nearly 20KB of memory which is not available and the ESP crashes. I tried to work around that by temporarily reducing the bit depth (=available number of colors) to black and white during the update. But I guess embedded systems are not so happy with allocation and de-allocation of a lot of memory so it didn't really work. Do you have a better idea?

Daniel

Welcome to ThingPulse Q&A, where you can ask questions and receive answers from other members of the community.

https://thingpulse.com

...