Closed liebman closed 5 years ago
. Make the SAMData a member of the class, seems like logically it should be there
If its a class member it won't be accessible from the C code.
. Get rid of the
#if SAMDATA
and just replace it always.
Will do.
. How about making
::say()
return a bool, andfalse
when it's OOM, OTWtrue
? That way we can inform the main code if they care enough to check
Good idea.
. Make the SAMData a member of the class, seems like logically it should be there
If its a class member it won't be accessible from the C code.
Fair enough, I stand corrected. :)
Ok - your suggestions have been implemented.
@earlephilhower any more changes needed?
Thanks for the reminder. I've been busy preparing for an industry trade show and not looking at the projects much this month.
There are many 256 and 60 byte arrays, about 4k in total, that are only used during "say". On an ESP8266 that uses enough memory to prevent using SSL. This, hack at the moment, shows that one can dynamically allocate these when needed and keep memory free for https requests as long as they are not both used at the same time. Thoughts?