Files
swiftcontrol/lib/bluetooth
Jonas Acker 258dbbc5c6 Trainers: stop retrying a trainer another app holds after three attempts
A remembered Bluetooth trainer that the trainer app already holds (Windows:
service discovery fails with AccessDenied while MyWhoosh is connected) was
re-added and re-connected on every advertisement, about once a second, with
a "Couldn't connect" and a "disconnected" toast each round. ProxyDevice now
gives up after three failed auto-connects like BLE sensors do, shows one
guidance alert, and retries quietly after the cooldown. Auto-connect consent
stays; Reconnect or picking the trainer by hand still connects it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-27 12:54:23 +01:00
..