Arduino Firmware Update for esp8226, esp32
char* url = "http://myFirmware.Url";
double version = 1.0;
Firmware firmware = Firmware(url, version);
firmware.update();
OR
char* url = "http://myFirmware.Url";
double version = 1.0;
Firmware firmware = Firmware();
firmware.setUrl(url);
firmware.setVersion(1.0);
firmware.update();