Summary
At the end of this chapter, you have gained the knowledge about MQTT protocol. We have explored how to build a complex IoT system that uses heterogeneous components. We have explored how to build a remote weather station that acquires data remotely and send it through MQTT to Android Things board. Using this project, we have covered an important topic related to M2M. In the next chapter, we will explore how to use Pulse Width Modulation (PWM) to control servo motor using Android Things and how to acquire images using cameras.