MQTT¶
This week, you will learn how to communicate by using a protocol that is called MQTT. Like HTTP, it is usually executed on top of TCP/IP, but you will notice that this protocol is very different from HTTP, in many respects. That's one of the reasons why we look at it. Once you have understood HTTP and MQTT, you have covered a lot of mechanisms, properties, patterns and architectures that are used in communication protocols.
Learning Goals¶
After this week, you will be able to:
- Create an MQTT client in Python.
- Publish and receive messages, including data payload.
- Select proper quality-of-service levels.
- Design MQTT topics for applications.
- Today's lecture slides
Preparation¶
Go through the following preparation material before we meet in class:
Teamwork¶
In the lab, go through the following activities with your team:
Individual Reflections¶
Every week, each of you should complete a short reflection about what you have learned. Think about one thing you learned well, and one thing you found difficult. This helps you reflect on your learning, and also gives us valuable insight.
Add your individual reflections at the end of each week's section of your lab report.