Closed DavyLandman closed 4 years ago
Finished.
Update url is fixed in flash, is a regular http server no need for https.
We send the MD5 of the firmware via mqtt, and we compare that to the current flashed firmware, if it is different, we download the updated firmware, and only flash it if it's the correct md5.
Progress: OTA works, but requires a custom HTTP server, and at a later stage will need some work to enable either signing of firmware or https.
Custom HTTP server needs to determine which version of the firmware to offer to which client, in order to avoid re-flashing the same version multiple times.
Alternativly, encode the the version in the filename, so that you send a request like: