WebThingsIO / webthing-arduino

Simple server for ESP8266, ESP32, Ethernet, or WiFi101-compatible boards compliant with Mozilla's proposed WoT API
Mozilla Public License 2.0
207 stars 78 forks source link

Swapped StaticJsonBuffers to dynamic #37

Closed download13 closed 6 years ago

download13 commented 6 years ago

Fix for #29.

The ESP8266 seems to have a maximum stack size of 4KB under some conditions. DynamicJsonBuffers are allocated on the heap and so won't crash the ESP.

download13 commented 6 years ago

I think this might fix #10 as well, but it's already closed

rzr commented 6 years ago

Try to rebase on: https://github.com/mozilla-iot/webthing-arduino/pull/38