* A ESP device connects to a server (HTTP, TFTP, ...?), and checks for a new version of the firmware.
* If a new version is found, the ESP device downloads the new firmware, installs it, and reboots.
Can this be done? Is there any sample code for the download + update process available (I can figure out the rest myself)? The binary file containing the new firmware, how must be created (using the Arduino IDE, if possible)?
Many thanks!