Files
swiftcontrol/lib/bluetooth
Jonas Bark 0929cebfe3 fix(sram): prevent 3-minute idle disconnect with BLE keepalive
The SRAM rear derailleur drops idle connections after ~3 minutes.
Reverse-engineering the official SRAM AXS app revealed it requests
CONNECTION_PRIORITY_HIGH immediately after connecting. This fix adds
the same priority request, subscribes to the gear-state characteristic
for additional notification traffic, and reads it every 60s as a
fallback keepalive.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-08-08 16:01:07 +02:00
..
2026-06-10 07:23:36 +02:00