mlesniew / PicoMQTT

ESP MQTT client and broker library
GNU Lesser General Public License v3.0
256 stars 29 forks source link

picoMQTT Broker Limitations #24

Closed mtnbkr88 closed 1 year ago

mtnbkr88 commented 1 year ago

I am looking for an MQTT Broker to run on my ESP32-CAM board. The documentation for picoMQTT says the broker only supports QoS 0, no Will messages and cannot Retain messages. Why??? These are deal breakers for me. These are very important in IoT implementations. Do you have any plans to implement these? If not, do you know of any MQTT brokers that run on ESP32 that do implement these?

mlesniew commented 1 year ago

Supporting will messages and QoS > 0 would increase memory usage significantly, which could lead to instability if not implemented carefully.

The library was originally written with ESP8266 in mind, which have limited RAM. Perhaps on ESP32 increased memory usage wouldn't be an issue.

Also, I didn't need to use will messages or QoS > 0 in my own projects so far, so haven't implemented it.

I'm not planning to extend the library in the near future. Still, I'm more than happy to accept pull requests with enhancements.

mtnbkr88 commented 1 year ago

I understand. Excellent work on what you have done. Thank you.