disabling OTA updates ESP8266 12E/F
Posted: Tue Feb 20, 2018 3:44 am
For security reasons I would like to disable ota updates a set time after a reset. ATM I just crudely jump around the ota handler in the main loop after the time is up.
if (otato<otamins) ArduinoOTA.handle(); //enable ota updates up to otamins after reset
Is there a better way?. There does not seem to be a way to stop the service once started .
Best Regards
dataguy
if (otato<otamins) ArduinoOTA.handle(); //enable ota updates up to otamins after reset
Is there a better way?. There does not seem to be a way to stop the service once started .
Best Regards
dataguy