feat(gui): share plot interaction, trend and spectrum core across JNI and Python

This commit is contained in:
2026-09-03 16:02:25 +03:00
parent 43410c3f12
commit a14140f794
42 changed files with 2245 additions and 8 deletions
+6 -1
View File
@@ -7,4 +7,9 @@ and include this `Android.mk` from the application NDK build.
The JNI streaming parser returns fixed 15-byte records
`SEQ | FLAGS | CAN_ID_LE | DLC | DATA[8]`. Dynamic allocation is confined to
the Android adapter; the portable core remains allocation free.
the Android adapter for protocol operations; the portable protocol core remains allocation free.
`nativeSpectrum` calls the shared host DSP module `set_spectrum.c` (bounded heap
workspace, up to 2×16384 doubles). `trends/SpectrumAnalyzer` maps timestamps and
errors but does not duplicate FFT/filter math. Run it off the UI thread.
`trends/PlotViewport` is a toolkit-free normalized zoom/pan model.