ota update

This commit is contained in:
2026-08-16 14:52:23 +02:00
parent fb09b2b7a1
commit a02e280f42
4 changed files with 69 additions and 23 deletions

View File

@@ -2,7 +2,7 @@
#include <Arduino.h>
// Firmware update over WiFi (Menu > System > "Check for update") -
// checks against the latest version in the GitHub repository (Releases API) and
// checks against the latest version in a private Gitea repository (Releases API) and
// installs it on the device directly upon confirmation, without cable/
// web flasher. Blocking, synchronous HTTPS calls - only executed on
// explicit button press (no background polling), analogous to
@@ -23,7 +23,7 @@ namespace OtaUpdate {
char downloadUrl[192] = {0};
};
// Queries the GitHub Releases API for the latest release, compares
// Queries the Gitea Releases API for the latest release, compares
// its version number (tag name, "v" prefix is ignored) against
// Config::APP_VERSION and looks for the "firmware.bin" attachment in the release.
// CheckResult::Error on any error along the way (no WiFi, timeout,