mqtt_cpp: Boost.Asio based mqtt communication library
summary
Header‑only Boost.Asio MQTT library claims full MQTT 3.1.1 support with plans for MQTT 5 and exposes both synchronous and asynchronous APIs plus client and broker roles. It implements four transports: TCP, TLS (MQTTS), WebSocket and WSS. Example stack uses MessagePack payloads, runs on AWS EC2 broker, and uses MQTT.js in the browser. A live demo wires an iPhone accelerometer to a web monitor, mostly functional despite a brief connection hiccup.
AI-written summary · about








