Files
swiftcontrol/lib/services/network_self_test
Jonas Acker 7546f50485 Network diagnostics: tell BikeControl's own mDNS scans apart by service type
Support bundle: the query log is now read before the bundle's own discovery
scan. On a host with many network adapters that scan logs one copy per
interface and evicted everything the trainer app had asked before the bundle
was taken, leaving only our own scan in the report. Queries attributable to
our own scans (every question about a type we were browsing, from this
device's addresses) are summarised in one count line instead of listed.

Live connection test: own scans are tracked per service type. The Wi-Fi
trainer scan browses only the Wahoo type for as long as Bluetooth scans, and
the watch discarded every same-host query meanwhile, so a trainer app on the
same machine looking for OpenBikeControl could never be seen and the result
was always inconclusive. Now only questions about a type we were browsing are
discarded; the rest of the same packet still counts, and an own browse only
excuses silence when it covers a type the watch looks for.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-25 08:50:57 +01:00
..