Source code for the MQTT chapter of the book "Learning Internet of Things".