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
+2
View File
@@ -4,6 +4,8 @@
results under "Running". Toolchain: MSYS2 UCRT64 gcc, Option B below (chosen and
installed 2026-09-11).
**Corpus for the app (`make corpus`, `dump_corpus.c`):** runs the firmware's `gn_unwrap_its` on frames from the recorded captures, copies of them cut at several lengths and copies with flipped bytes, and writes the verdict and fields of each to `app/src/test/resources/gn_unwrap_corpus.tsv`. The app's `GnUnwrapTest` requires its Kotlin port of `gn_unwrap.c` (used for the raw frame receive path) to match every line.
**Firmware unit tests (`make firmware`, `test_firmware.cpp`, 40 tests):** the station-link codec byte-exact against
the app's `StationLinkTest` hex, the 131-octet STATUS offsets, request reassembly, the V2X_RX extension
(`main/v2x_rx.hpp`; the 494-octet limit, the 14-octet prefix, TX code -> air frame -> RX path), radio operating