Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Hands-On MQTT Programming with Python

You're reading from  Hands-On MQTT Programming with Python

Product type Book
Published in May 2018
Publisher Packt
ISBN-13 9781789138542
Pages 228 pages
Edition 1st Edition
Languages
Author (1):
Gaston C. Hillar Gaston C. Hillar
Profile icon Gaston C. Hillar

Table of Contents (9) Chapters

Preface 1. Installing an MQTT 3.1.1 Mosquitto Server 2. Using Command-Line and GUI Tools to Learn How MQTT Works 3. Securing an MQTT 3.1.1 Mosquitto Server 4. Writing Code to Control a Vehicle with Python and MQTT Messages 5. Testing and Improving Our Vehicle Control Solution in Python 6. Monitoring a Surfing Competition with Cloud-Based Real-Time MQTT Providers and Python 7. Solutions 8. Other Books You May Enjoy

Summary

In this chapter, we started our journey toward understanding the MQTT protocol. We understood convenient scenarios for this protocol, the details of the publish-subscribe pattern, and message filtering. We learned basic concepts related to MQTT and understood the different components: clients, servers or brokers, and connections.

We learned to install a Mosquitto server on Linux, macOS, and Windows. We used the default configuration, as it allowed us to learn how everything works under the hood while using Mosquitto. Then, we will secure the server. This way, it will be easier for us to start using the client libraries in Python to publish MQTT messages and subscribe to MQTT topic filters.

Now that we have our environment ready to start working with a still-unsecured Mosquitto server, we will work with command-line and GUI tools to learn how MQTT works in detail. We will learn MQTT basics, the specific vocabulary for MQTT, and its working modes, which are the topics that we are going to discuss in Chapter 2, Using Command-Line and GUI Tools to Learn How MQTT Works.

You have been reading a chapter from
Hands-On MQTT Programming with Python
Published in: May 2018 Publisher: Packt ISBN-13: 9781789138542
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}