Integrating application protocols into the design
Now that we’ve seen the considerations of choosing an application protocol, let’s look at integrating the protocols into the design of a network. We already have the knowledge of the components of an IoT network and have seen the interactions that take place between several protocols, so we can put that knowledge to use with the following set of use cases, and see how we can apply our understanding to building our own networks for our use cases based on best practices.
A simple integration into the smart thermostat network
Let’s return to our smart home example, starting off with a simple example of a smart thermostat’s communications with an MQTT broker, which we can see implemented as follows:
Figure 3.5 – Simple smart thermostat communication with MQTT broker
In this network, we can see that the Thermostat would publish its measurement of the temperature in the...