FwUpdate: diagnosis counters in 'failed' status (binary/dropped/text chunks, last manifest writer)

This commit is contained in:
tth committed 2026-11-13 01:57:56 +01:00
1 parent b4d2601c8f
commit 0c06994d1f
2 files changed
+18 -3

No files matched your search

+4
View File
@@ -115,6 +115,10 @@ private:
// mismatch after the flush, for diagnosis (`fw status`).
uint8_t _mani[FW_OTA_MANIFEST_SIZE];
uint16_t _sid = 0; // transfer session, 0 = none given (text-only senders)
// diagnosis of the "wrong base image" hunt (13. 11. 2026): who wrote the manifest
uint16_t _w_bin = 0, _w_drop = 0, _w_txt = 0;
char _mani_src = '-';
uint32_t _mani_off = 0;
bool _flash_diff = false;
char _version[48] = { 0 };
char _err[64] = { 0 };