Hello readers, hope you all are doing great. In this tutorial, we are going to discuss a mechanism that allows users to update the ESP32 with a new program wirelessly or over the air (without using a USB cable to upload a new program).
Over-The-Air (OTA) programming
Fig. 1 ESP32 OTA
OTA programming is the mean by which a product manufacturer or product service provider can update the features or functionality of the device wirelessly or over the air, after the device has been deployed in the field where connecting a cable or uploading the code serially is difficult.
One key advantage of OTA is that a single central node can send an update to multiple ESPs on the same network.
The device must have a provisioning client capable of receivin ...