Skip to content

Improve Bluetooth device connection monitoring#346

Merged
d4rken merged 1 commit intomainfrom
313-connection-state-monitoring
Oct 29, 2025
Merged

Improve Bluetooth device connection monitoring#346
d4rken merged 1 commit intomainfrom
313-connection-state-monitoring

Conversation

@d4rken
Copy link
Copy Markdown
Member

@d4rken d4rken commented Oct 29, 2025

Switched from monitoring generic ACL events to specific Headset profile state changes for more reliable device connection and disconnection detection.

This fixes a race condition where CAPod thinks no device is connected because we triggered too early, before "connectedDevices" on the HEADSET profile contains our target device.

This fixes #313

Switched from monitoring generic ACL events to specific Headset profile state changes for more reliable device connection and disconnection detection.

This fixes a race condition where CAPod thinks no device is connected because we triggered too early, before "connectedDevices" on the HEADSET profile contains our target device.

This fixes #313
@d4rken d4rken added the bug Something isn't working label Oct 29, 2025
@d4rken d4rken merged commit 1cfc461 into main Oct 29, 2025
13 checks passed
@d4rken d4rken deleted the 313-connection-state-monitoring branch October 29, 2025 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"Only when connected" mode not working

1 participant