Sending data from IoT devices
There are many communication protocols that you can use to send data from your IoT devices. At the end of this chapter, you will learn how to select the most appropriate protocol for your application.
In any case, the general architecture of an IoT solution is as follows.
First, you have the IoT devices. These devices send data to the cloud using different types of communication technologies. Some of these technologies are IP native, such as Ethernet or Wi-Fi, while others are not, such as BLE or LoRa.
If you are using IP native technologies, you can send the data directly to the internet. However, in some cases, it can be a good idea to use a gateway. In this case, the gateway will manage the data sent by the local devices. Then, the gateway will send just the relevant information to the cloud.
On the other hand, if you are using non-IP native technologies, using a gateway is mandatory. For instance, you need a gateway for LoRaWAN devices...