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
+6 -3
View File
@@ -60,6 +60,7 @@ Main changes against Niklas Dathe's firmware:
(`battery_mv`, octets 129-130); the app shows the voltage, a rough percentage and a low (3.50 V) /
critical (3.30 V) warning on the ESP32-C5 card and in the top bar. Below 3.30 V with no phone on USB
the board deep-sleeps, because the prototype cell has no protection board. See `obu-firmware/FLASHING.md`.
- **ATT MTU 517** so that a 494-octet V2X_RX (a 512-octet link message) is not split.
- **BLE and ITS-G5** share one RF front end. Niklas Dathe's TX guard (`CONFIG_MICROBU_TX_BLE_GUARD`)
holds a frame out of the BLE connection-event windows; the earlier "pause advertising while USB is
in use" is gone.
@@ -78,7 +79,7 @@ firmware is what counts; the current spec table lists the same UUIDs).
| Direction | Message | Used for |
|---|---|---|
| phone → board | `STATION_CONFIGURE` | station type, channel 180, 20 dBm (6 octets); starts the radio |
| phone → board | `STATION_CONFIGURE` | station type, channel 180, 20 dBm; the 16-octet form also names the MAC (pseudonym); starts the radio |
| phone → board | `CREDENTIALS_PROVISION` | the demo bundle, once, when the board reports no ticket |
| phone → board | `POTI_UPDATE` | position and ITS time, once per new GNSS fix |
| phone → board | `BTP_DATA_REQUEST` | one CAM (port 2001, psid 36) or VAM (port 2018, psid 638), signed or not |
@@ -89,8 +90,10 @@ firmware is what counts; the current spec table lists the same UUIDs).
The app side is `Esp32Link.kt` (session), `StationLink.kt` (codec, pinned by unit tests to bytes
from Niklas Dathe's Python implementation), `UsbSerialTransport.kt` and `BleLinkTransport.kt`.
A board still on the previous C firmware is recognised by its old heartbeat and keeps working for
CAM over USB. The app does not rotate the board's MAC any more (STATION_CONFIGURE has none): a signed
station takes its address from the ticket, an unsigned one draws a random MAC per configuration.
CAM over USB. The pseudonym's MAC goes to the board in the 16-octet STATION_CONFIGURE (which Niklas Dathe's
spec retires but the station still decodes, and revision 2 documents): a ride rotates it with the station ID, the bench CAM
pinger keeps one fixed MAC, and a new MAC reconfigures the station. Without one a signed station takes its address from the
ticket and an unsigned one draws a random MAC per configuration. With one, signed and unsigned frames both leave from it.
## Redundancy and recovery