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