5 Commits
Author SHA1 Message Date
Ashin Walpola aef65394ea Correct the firmware README's receive-path description and link the bench tests 2026-11-25 16:54:42 +01:00
Ashin Walpola ce18a393ea Fragment large V2X_RX messages and decode road-RSU SPATEMs
The firmware dropped every received ITS message over 494 bytes (one link
message), so a road RSU's 888-byte SPATEM and 1198-byte MAPEM never reached
the phone. V2X_RX now goes out in link fragments up to 2300 bytes, best
effort and non-blocking; messages up to 494 bytes are unchanged.

The app's SPATEM decoder then refused those messages because they carry
intersection and movement names and advisory speed lists. It now reads past
both, checked against asn1tools on 718 distinct messages.

Adds the pure fragmenter with host tests and a pcap replay, a Kotlin
cross-check on the firmware's own fragments, tools/rx_size_compare.py,
docs/08-large-message-reception.md and station-link revision 3.
2026-11-23 17:34:56 +01:00
Ashin Walpola 457ad47521 Update the diagrams, READMEs and spec for the two receive paths
Add data-flow diagrams of both paths (V2X_RX and RAW_FRAME with the app's Receive path
switch) to the app README, the firmware README and docs/06, and bring the draw.io
architecture labels up to station-link revision 2. The spec (revision 2) gains
"V2X_RX and RAW_FRAME: both stay" and "Fragmentation on the host side". Document the corpus
generator in test/host.
2026-11-11 16:25:34 +01:00
Ashin Walpola 38c21ed2a4 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.
2026-11-11 15:32:42 +01:00
Ashin Walpola 6f99154b23 Add a firmware README and an architecture overview to the app README
obu-firmware/README.md follows Niklas Dathe's microbu-firmware README: station
diagram with the MicrOBU raw receive, unsigned transmit and battery paths, a
summary block, build and flash, BLE pairing, host tests and links.

The app README gets an architecture diagram and a summary block, corrects the
pseudonym description for the 2026-11-10 firmware (the link has no MAC field any
more) and the unit test count (130).
2026-11-11 01:30:47 +01:00