Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Save more on your purchases now! discount-offer-chevron-icon
Savings automatically calculated. No voucher code required.
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Hands-On MQTT Programming with Python

You're reading from   Hands-On MQTT Programming with Python Work with the lightweight IoT protocol in Python

Arrow left icon
Product type Paperback
Published in May 2018
Publisher Packt
ISBN-13 9781789138542
Length 228 pages
Edition 1st Edition
Languages
Tools
Arrow right icon
Author (1):
Arrow left icon
Gaston C. Hillar Gaston C. Hillar
Author Profile Icon Gaston C. Hillar
Gaston C. Hillar
Arrow right icon
View More author details
Toc

Table of Contents (9) Chapters Close

Preface 1. Installing an MQTT 3.1.1 Mosquitto Server FREE CHAPTER 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

Test your knowledge

Let's see whether you can answer the following questions correctly:

  1. Which is the default port number for MQTT over TLS:
    1. 1883
    2. 5883
    3. 8883
  2. Which of the following utilities allows us to generate an X.509 digital certificate:
    1. OpenX509
    2. TLS4Devs
    3. OpenSSL
  3. When we use MQTT over TLS:
    1. There are both bandwidth and processing overheads compared to MQTT over TCP without TLS
    2. There is just a small bandwith overhead but no processing overhead at all compared to MQTT over TCP without TLS
    3. There is no overhead compared to MQTT over TCP without TLS
  4. Which of the following can we use to secure and encrypt communications between the MQTT clients and the MQTT server:
    1. TCPS
    2. TLS
    3. HTTPS
  5. If we specify true as the value for the require_certificate option of the Mosquitto configuration file (mosquitto.conf):
    1. Clients that want to connect to the MQTT server will require a client...
lock icon The rest of the chapter is locked
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 $19.99/month. Cancel anytime