-->
Page 1 of 1

Esp8266 OTA WebBroser

PostPosted: Thu Sep 21, 2017 9:41 am
by DTesla
Hi all!

I'm uploading new firmware to the ESP8266 with Arduino Core via OTA ( Web Browser example ): http://esp8266.github.io/Arduino/versio ... dates.html

Question: is the updating process guaranteed in some ways? I mean, is the new uploaded file checked after the process, or is there integrity on transferred data? Is an 100% secure process?

Hope my question is clear :D

Thanks

Re: Esp8266 OTA WebBroser

PostPosted: Thu Sep 21, 2017 1:50 pm
by martinayotte
ArduinoOTA rely on Updater class which rely on MD5 if the server provide it.
So, if there is an MD5 error while doing the OTA, the current old firmware will stay the active one until a new OTA is performed.

Re: Esp8266 OTA WebBroser

PostPosted: Fri Sep 22, 2017 3:24 am
by DTesla
Hi martinayotte,

thank you for your reply.

Is it only valid for the OTA via Arduino IDE, or also for the WebServer and HTTP Server example?
Thanks :D

Re: Esp8266 OTA WebBroser

PostPosted: Fri Sep 22, 2017 10:39 am
by martinayotte
You can check if there is a call to Update.setMD5() ...