Chapter 1. Lightweight Messaging with MQTT 3.1.1 and Mosquitto

In this chapter, we will start our journey towards the usage of the preferred IoT publish-subscribe lightweight messaging protocol in diverse IoT solutions combined with mobile apps and web applications. We will learn how MQTT and its lightweight messaging system work. We will learn MQTT basics, the specific vocabulary for MQTT, and its working modes. We will use different utilities and diagrams to understand the most important concepts related to MQTT. We will:

  • Understand convenient scenarios for the MQTT protocol
  • Work with the publish-subscribe pattern
  • Work with message filtering
  • Learn basic concepts related to MQTT
  • Understand the MQTT puzzle: clients, servers or brokers, and connections ...

Get MQTT Essentials - A Lightweight IoT Protocol now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.