timherreijgers / Domotics-base

Project containing base code for domotics projects
MIT License
0 stars 0 forks source link

Is a mqtt buffer size of 512 really necessary? #39

Closed timherreijgers closed 1 year ago

timherreijgers commented 1 year ago

In the MQTT middleware we set the pubsubclient buffer size to 512, is this really necassary? This memory is heap allocated and might cause issues on smaller microcontrollers. (heap allocation is really bad on an mcu, I know, but PubSubClient is not my lib)

timherreijgers commented 1 year ago

In version 0.1.1 it is set back to 256. We'll see how it goes ;)