Commit Graph
3 Commits
Author SHA1 Message Date
Kaj SchittecatandClaude Opus 5.5 966190e9c7 touch: the GPS start is watched for as long as the receiver runs (#778)
A receiver still finishing an earlier stop goes on sending for a moment after
the start and then falls silent. One good sentence ended the repeats, so it
stayed silent until the GPS was next restarted. The check now keeps running
and starts it again.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 17:02:44 +01:00
Kaj SchittecatandClaude Opus 5.5 8928b89208 touch: GPS start repeated until sentences flow, ten-minute first fix under the saver, GPS page says if the receiver talks (#778); trace hops are 1, 2 or 4 bytes (#818); Ping traces a repeater that refuses the login (#780); import logs why it failed (#822)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 11:44:16 +01:00
Kaj SchittecatandClaude Opus 5.5 9e262e0b60 test: GPS Auto speed (32533c45) against a simulated receiver
The speed rules behind touchPrefsGetGpsBaud / touchPrefsSetGpsBaudFound
move into src/helpers/esp32/GpsBaudPrefs.h (same results, same single
write per change), so the test runs the real rules.

test/test_gps_baud_probe.cpp compiles the real WadaNmeaLocationProvider.h
over a fake UART whose receiver talks NMEA at one speed and reads as noise
at every other, with a fake NVS that counts writes. T-Deck default 38400
with a 9600 receiver: found on the first probe step, stored once as the
found speed (never as the user's choice), no reopen or write over two more
minutes or a GPS saver rest; the next start opens at 9600 and writes
nothing. M9 default 115200 with a 38400 receiver: 9600, 19200, 38400. A
picked speed is never probed past and nothing is stored; a swapped
receiver rewrites the found speed once; no receiver or an unlisted speed
never stores anything; a stop mid-probe still finds the speed; the
CAP_GPS_BAUD_AUTO path stores to the setting instead.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-26 13:42:16 +01:00