Commit Graph
18 Commits
Author SHA1 Message Date
jensandClaude Sonnet 5 2dba3a9a2f add UBX-MON-VER support and surface device identification in CLI/GUI
Add the Ver message parser and a fixed UbxQuery (was unused and had a
broken semaphore/state bug) to poll MON-VER once on connect. The CLI
prints hw/sw version and extensions; the GUI polls it per receiver,
pre-fills the read-only ID field with a connection counter and
rewrites it from the MOD= extension once the device answers, and
propagates the resolved display name to the Sky and Plot tabs so they
no longer show the stale placeholder ID.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XM4FNUjhu9x8df5Dp1hHvd
2026-07-16 20:22:25 +02:00
jensandClaude Sonnet 5 b3447a28c5 harden UBX parsing/dispatch and report peer-side disconnects in GUI
A struct size-mismatch or any other parse error in a listener could
propagate uncaught out of the socket-reading thread and silently kill
it. Catch broadly in the event loop and per-listener in call_listener,
and make the NAV-SAT/NAV-SIG/RXM-RAWX group parsers tolerate a
payload length that isn't an exact multiple of the group size instead
of crashing on a short struct.unpack.

Also wire NetworkBackend's socket-loss detection through to
ReceiverManager (via a queued signal, since the callback fires from
the backend thread) so the GUI reflects a peer-initiated disconnect
instead of leaving the row stuck showing "connected". Verified against
a real ZED-X20P: it drops the TCP session on its own after ~20-28s
regardless of traffic; the GUI now marks the receiver disconnected and
frees its ID for reconnecting.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01AzmCaNjDb3TAqPpTwunKTY
2026-07-15 22:00:29 +02:00
jens 74b949f864 - refactored
- added claude.md
2026-05-24 09:21:26 +02:00
jens 670c4db7a4 refactored 2026-03-29 15:37:18 +02:00
jens f7b1b18b2f - removed name property from Msg container
- added source property to MsgContainer
2026-03-29 11:01:41 +02:00
jens af94c39b3e reverted introducing stream 2026-03-29 10:37:49 +02:00
jens 8208edfc46 - added stream talker
- added stream listener
2026-03-28 12:03:54 +01:00
jens 888dd850f3 refactored 2026-03-25 05:59:58 +01:00
jens e5da1b663b refactored 2026-03-25 05:53:06 +01:00
jens e7178efa23 refactored UbxReceiver 2026-03-25 05:32:21 +01:00
jens 83e5867983 added UbxQuery 2026-03-23 15:46:02 +01:00
jens f24224623e added UBX:NAV:SAT message 2026-03-22 11:00:40 +01:00
jens 9acddacb1c added UBX:RXM:RAWX 2026-03-19 08:11:28 +01:00
jens e8d54ebc87 added UBX:NAV:SIG message 2026-03-18 20:23:23 +01:00
jens fd0be82719 refactored 2026-03-16 15:30:10 +01:00
jens 34e56c6291 refactored 2026-03-16 11:06:18 +01:00
jens 4ef406ff9a - added ubx parse
- fixed ubx create
2026-03-16 09:26:45 +01:00
jens 6ee3e68fe7 started adding UBX protocol 2026-03-16 08:34:58 +01:00