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.
This commit is contained in:
Ashin Walpola
2026-11-11 16:25:34 +01:00
parent 1697091d3a
commit 457ad47521
6 changed files with 74 additions and 3 deletions
+13
View File
@@ -165,6 +165,19 @@ vanetza-idf verifies strictly and would drop anything unsigned or signed under a
| Size | up to 494 octets | not limited: fragments are reassembled (`LinkReassembly`, as the spec defines) |
| Reliability | normal indication | debug copy: can be dropped when the link is busy, more bandwidth, especially over BLE |
```mermaid
flowchart LR
Air[ITS-G5 frame] --> Board[ESP32-C5: radio, gn_unwrap.c, raw capture tap]
Board -->|V2X_RX 0x90, always| Link[USB or BLE]
Board -->|RAW_FRAME 0x85, after RAW_CAPTURE| Link
Link --> Re[LinkReassembly]
Re --> Sel{Receive path setting}
Sel -->|V2X_RX, default| Dec[V2xRxFrame]
Sel -->|Raw frames| Raw[RawFrame + GnUnwrap]
Raw --> Dec
Dec --> Rest[Codecs, use cases, V2X screens, logger]
```
The board always sends `V2X_RX`; the app consumes one path and ignores the other. Changing the setting takes effect at once on a configured station (`RAW_CAPTURE` mode 3 = on and broadcast frames only, mode 0 = off). `GnUnwrapTest` checks the Kotlin unwrapper against `obu-firmware/test/host/dump_corpus.c`'s output for 602 recorded, cut and corrupted frames.
## Verification