Distribute master OTA images to slaves over ESP-NOW.

After UART OTA the master reads the staged partition in 4 KiB blocks (200 B ESP-NOW chunks), waits for per-slave block ACKs, and fixes the final partial block. Slaves reuse ota_uart; send pacing and logging improve reliability.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-05-19 01:00:56 +02:00
co-authored by Cursor
parent 4bf43d8a5e
commit 9b7bda8551
13 changed files with 835 additions and 33 deletions
+12
View File
@@ -18,6 +18,18 @@ PB_BIND(alox_EspNowSlavePresence, alox_EspNowSlavePresence, AUTO)
PB_BIND(alox_EspNowAccelDeadzone, alox_EspNowAccelDeadzone, AUTO)
PB_BIND(alox_EspNowOtaStart, alox_EspNowOtaStart, AUTO)
PB_BIND(alox_EspNowOtaPayload, alox_EspNowOtaPayload, AUTO)
PB_BIND(alox_EspNowOtaEnd, alox_EspNowOtaEnd, AUTO)
PB_BIND(alox_EspNowOtaStatus, alox_EspNowOtaStatus, AUTO)
PB_BIND(alox_EspNowMessage, alox_EspNowMessage, AUTO)