The M2M architecture and the MQTT protocol
By now, in the previous chapters, we have covered how to acquire data from sensors connected to the Android Things board and how to use the Android Things board to manage remote IoT boards that are non-compatible with Android Things. Moreover, we use the Android Things board to send data to the cloud using IoT cloud platforms. There is another important aspect that is important to cover: how to use Android Things in Machine to Machine (M2M) architecture and the role the MQTT protocol plays in this architecture.
M2M is an emerging key component in Internet of things and Industrial Internet of Things (IIoT). M2M is focused on how machines talk to each other when exchanging data and information. In other words, with Machine to Machine terms, we refer to all the technologies and wireless networks that enable real-time data exchanging without human actions. In other words, the machine (or object) exchanges data by itself with other machines. This aspect...