chrisjoyce911 / esp32FOTA

Experiments in firmware OTA updates for ESP32 dev boards
The Unlicense
363 stars 89 forks source link

Allow full URLs in firmware manifests #75

Closed thorrak closed 2 years ago

thorrak commented 2 years ago

This change builds on the back of changes from @thinksilicon and converts from storing _host _port and _bin internally we now store a full _firmwareUrl - and accept one in a JSON manifest.

This maintains backwards compatibility by continuing to accept manifests that break the three fields out, as well as forceUpdate requests that do the same.

Note - This PR conflicts slightly with #73 - If you merge that first, my firmware_url_with_insecure branch can alternatively be pulled with those changes resolved.