O'Reilly logo

Hands-On MQTT Programming with Python by Gaston C. Hillar

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Test your knowledge

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

  1. Which of the following methods of the paho.mqtt.client.Client instance blocks execution and ensures communication with the MQTT server is carried out?
    1. loop
    2. loop_start
    3. blocking_loop
  2. Which of the following methods of the paho.mqtt.client.Client instance starts a new thread and ensures communication with the MQTT server is carried out?
    1. loop
    2. loop_start
    3. non_blocking_loop
  3. Which of the following methods of the paho.mqtt.client.Client instance configures a last will message to be sent to the MQTT server if the client disconnects unexpectedly?
    1. last_will_publish
    2. last_will_message
    3. will_set
  4. Which of the following methods of the paho.mqtt.client.Client instance ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required