I need a OTA clear code version that works via SIM800L and ESP32 on Serial2 pins.
Simple, well write code, clean. Arduino.
1) request json from http(s), with version
2) If the version is different, download firmware as "[login to view URL]"
3) install and reboot it
The important is that all is working fine, manage errors (wrong code, 404 error and so on) prevent reboot loop or similar.