As we have seen in Chapter 1, The World of IoT, all the examples we are going to work on have a common setup. That would be the hardware, firmware (software running on the hardware), broker, API engine and the user apps.
We will be expanding on the relevant pieces of framework as we come across it.
As and when we need to, we will be expanding on the hardware, or mobile app, or the API engine.
With this reference architecture, we are going to establish a pipeline between the devices present in the real world to the cloud in the virtual world. In other words, IoT is a last mile solution between devices and the internet.
A simple reference architecture with Raspberry Pi, Wi-Fi gateway, the cloud engine, and the user interface apps stitched together would look as shown in the following diagram:
At a very high level, we have smart devices on the left-hand side and the user devices on the right-hand side. All of the communication between them happens through...