Files
swiftcontrol/lib/utils/settings
jonas.bark@gmx.de 5df469c878 fix(windows): tell the rider to re-pair when a trainer app is stuck on a stale Bluetooth link
After BikeControl closed or crashed on Windows while bridging over
Bluetooth, the trainer app kept showing it as connected but got no data
until the rider removed the PC and paired it again (#451).

Verified on hardware (nRF Connect and MyWhoosh on Android, not bonded):
the phone holds the link, so it survives a clean close and a kill alike.
The restarted bridge publishes the same GATT layout (a cached CCCD write
lands on it), but its subscriber list starts empty, and Windows sends no
Service Changed. Nothing on the PC drops the link short of switching the
radio off, and after that MyWhoosh stays on "Pairing in progress" anyway.
Only re-pairing in the app brings the data back.

So BikeControl now says so: on Windows over Bluetooth, if a trainer app
has paired the bridge before and none picks it up within 20 s of the
bridge starting, the trainer card's pick-up step tells the rider to remove
the entry in the app and pair it again. The hint clears once an app
subscribes, and the support log notes when it was shown.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-09 14:34:17 +01:00
..