Refactor OTA update handling and improve error reporting.

Added a CRC check to firmware uploads, streamlined OTA partition management, and replaced detailed slot states with a single unified state representation. Improved consistency in variable formatting, error handling, and code readability across multiple modules.
This commit is contained in:
2026-03-17 22:16:39 +01:00
parent 7c128a27eb
commit cca13f51d9

View File

@@ -2,12 +2,15 @@
.basicnetworkkey { .basicnetworkkey {
min-width: 200px; min-width: 200px;
} }
.basicnetworkvalue { .basicnetworkvalue {
flex-grow: 1; flex-grow: 1;
} }
.basicnetworkkeyssid1 { .basicnetworkkeyssid1 {
flex-grow: 1; flex-grow: 1;
} }
.basicnetworkkeyssid2 { .basicnetworkkeyssid2 {
min-width: 50px; min-width: 50px;
flex-grow: 1; flex-grow: 1;
@@ -16,6 +19,7 @@
.mqttkey { .mqttkey {
min-width: 100px; min-width: 100px;
} }
.mqttvalue { .mqttvalue {
flex-grow: 1; flex-grow: 1;
} }
@@ -64,7 +68,7 @@
<div class="mqttkey"> <div class="mqttkey">
MQTT Url MQTT Url
</div> </div>
<input class="mqttvalue" type="text" id="mqtt_url" placeholder="mqtt://192.168.1.1:1883"> <input class="mqttvalue" type="text" id="mqtt_url" placeholder="192.168.1.1:1883">
</div> </div>
<div class="flexcontainer"> <div class="flexcontainer">
<div class="mqttkey"> <div class="mqttkey">