October 2019
Intermediate to advanced
350 pages
9h 5m
English
MQTT is shipped with a feature called Quality of Service (QoS), which can be used to ensure messages are delivered correctly. When a message is lost in transit, it will be re-sent until it is delivered successfully.
Let's stick with the example of the smart lamp for a bit—a lamp that can be controlled by another device over the internet with a simple button, which turns it either on or off when it's pressed.
Imagine you go on vacation. In your bag, you take the smart lamp with you. While on the airplane, there is no internet connection (sadly); therefore, the lamp is offline, and does not get any updates from the controller device. While you are on the airplane, the controller device ...
Read now
Unlock full access