OTA management
In Chapter 11, we explored what OTA is and how we can easily use this feature to send updates to remote devices. In that chapter, we used a graphical user interface, which is a good option for a single device. However, when we have bulk Things to send OTA, then the situation becomes complex, as we need to go through different things one at a time to send OTA updates, which is very time consuming and a difficult operation at the enterprise level.
That’s why the Arduino team created commands for the Arduino Cloud CLI to send OTA updates to single or multiple devices automatically, to minimize the complexity and operation time. So, firstly, we will explore how to export the compiled binary by using the Arduino IDE, and then we will send an OTA update to a device using its ID. For official documentation and updates, visit https://docs.arduino.cc/arduino-cloud/getting-started/arduino-cloud-cli#ota-over-the-air.
Exporting a binary using the Arduino IDE
In this...