-->
Page 1 of 1

ESP8266 'pull' OTA updates?

PostPosted: Sat Sep 26, 2015 1:40 am
by Anand Lobo
I don't know if this is an unreasonable thought, so bear with me here.
In my earlier thread I mentioned I had successfully uploaded new programs to the ESP8266 chip over the Wi-Fi.
The way I understand it, is that there is always a subroutine running on the ESP8266 that constantly listens over the Wi-Fi, waiting for a signal from the computer that an update is coming. So in the current setup, if the computer pushes an OTA update to the ESP8266 and the ESP8266 is engaged in another routine, it misses the update.

Instead of this always-on always-vigilant behaviour for the ESP, is it possible to program the chip to regularly check a server on the network for a new updated firmware (for example, by checking the filename) and then 'pull' that update on its own?

EDIT: I didn't do a search beforehand, turns out someone else asked basically the same thing.