Jump to content

[CNX-Software] - PicoMQTT – An MQTT Client/Broker library for ESP8266 and ESP32


Recommended Posts

Posted
PicoMQTT ESP8266 MQTT Broker

PicoMQTT is a lightweight MQTT library for Arduino/PlatformIO optimized for ESP8266 and ESP32. It not only supports the MQTT Client mode like most existing solutions but also the MQTT Broker mode which transforms an ESP8266 or ESP32 board into an MQTT gateway replacing a Raspberry Pi board or an IoT gateway typically used for this task. The library follows MQTT 3.1.1 specification, supports the publishing and consuming of arbitrary-sized messages, can deliver thousands of messages per second, and supports easy integration with the ArduinoJson library to publish and consume JSON messages. MQTT Broker code example: [crayon-643e4a00948d8570550725/] There are some limitations to the implementation due to constrained resources in the ESP8266 and ESP32, notably: Client only supports MQTT QoS levels 0 and 1 Broker only supports MQTT QoS level 0, ignores will and retained messages. Another downside highlighted by the developer is that only ESP8266 and ESP32 boards are supported. Developer [...]

The post PicoMQTT – An MQTT Client/Broker library for ESP8266 and ESP32 appeared first on CNX Software - Embedded Systems News.

View the full article

×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines