Update the notes, flashing guide and READMEs for the 2026-11-11 bench run

Document the MAC rotation (16-octet STATION_CONFIGURE), the ATT MTU of 517, the battery
reading fix, pairing and bonds with several boards, tools/station_tx_test.py, what was
dropped from the earlier MicrOBU version and what Niklas Dathe's latest firmware added,
and the measured results (BLE adds no transmit loss over USB). Test counts: 40 firmware,
131 app.
This commit is contained in:
Ashin Walpola
2026-11-11 15:32:42 +01:00
parent d02948d7fc
commit 38c21ed2a4
6 changed files with 82 additions and 16 deletions
+3 -2
View File
@@ -82,6 +82,7 @@ the board from the PC:
```powershell
py -3.11 tools/station_status_watch.py COMx 30 --configure --rx
py -3.11 tools/station_tx_test.py COMx --seconds 60 --mac 02:aa:bb:cc:dd:01 # plays the phone, reads the raw own-TX capture
```
It prints the log, the 131-octet STATUS once a second (uptime, signing and radio counters, heap,
@@ -107,14 +108,14 @@ BLE_pairing:
The passkey is public, so the link is encrypted but not protected against an active attacker during
the first pairing. A phone that was paired before must forget `micrOBU-XXXX` in Android's Bluetooth
settings after the board's NVS was erased. BLE and ITS-G5 share one RF front end: the firmware holds a
frame out of the BLE connection-event windows (`CONFIG_MICROBU_TX_BLE_GUARD`).
frame out of the BLE connection-event windows (`CONFIG_MICROBU_TX_BLE_GUARD`; calibrated for a 20 ms connection interval only). The bond is one per board and survives a reset; with several micrOBUs nearby pair the right one in Android first (FLASHING.md).
## Tests
```powershell
$env:PATH = "C:\msys64\ucrt64\bin;C:\msys64\usr\bin;$env:PATH"
cd obu-firmware\test\host
make firmware # 39 unit tests: link codec, STATUS, reassembly, V2X_RX, policies. PASS or FAIL per test
make firmware # 40 unit tests: link codec, STATUS, reassembly, V2X_RX, policies. PASS or FAIL per test
make # everything: chain, replay of recorded frames, fuzz, battery, firmware
```