mirror of
https://github.com/jonasbark/swiftcontrol.git
synced 2026-12-04 20:52:23 +01:00
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>