Introducing MQTT

MQTT is a protocol for machine-to-machine communication that was invented in 1999 by Dr. Andy Stanford-Clark (IBM). Because of its lightweight nature, it is especially useful when used with microcontrollers for IoT projects. It is lightweight in terms of both energy consumption and bandwidth because it does not have much overhead, which makes it a great fit for battery-powered projects on microcontroller boards.

MQTT is used in a wide range of projects, from small-scale DIY home automation to applications in the healthcare sector, where practitioners use it to communicate with medical devices (for example, blood pressure monitors); and by oil companies to monitor miles of pipelines. Even Facebook uses it for its Messenger ...

Get Hands-On Internet of Things with MQTT now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.