Wiki: Controller B OTA design (pull over Wi-Fi, paired credential handoff, status back-channel)

This commit is contained in:
2026-09-27 19:11:32 +02:00
parent de6752d558
commit 30ab113218
4 changed files with 90 additions and 0 deletions
+1
View File
@@ -15,6 +15,7 @@ Catalog of every page in the wiki. Read this first when answering questions. Kee
- [[controller-link]] — the A → B link, **protocol v2 (verified 2026-09-21)**: typed DATA/CONFIG frames on UART1 **and** ESP-NOW with dedupe, split gear fields, rpm, A-side alerts; pins (A TX = GPIO 44 → 485_A → B IO1 on the bench); the RS485-in-the-car question; v1 and the old enum drift kept for the record
- [[link-redundancy]] — wired + wireless redundancy: **ESP-NOW leg built and bench-verified** (both paths carry every frame, B dedupes and hops channels); RS485 for the car and BLE still open; failover policy notes
- [[controller-b-ota]] — **design (2026-09-27, agreed)**: B pulls its own signed release over Wi-Fi; A hands over the credentials once (paired key exchanged over the wire, then encrypted ESP-NOW unicast) and the trigger; B reports version/phase back; same manifest + key as A; work order and risks
- [[patrol-gauge-outputs]] — Patrol tachometer (IO7, 14-bit LEDC, 4 ppr) and coolant gauge (IO8, 8-bit PWM, CANNY duty law) **outputs implemented and bench-verified**; tunables on A via `cfg` console; prior art from the CANNY program; driver stage and needle calibration still to do
## Synthesis