Repository navigation
Conversation
The device list only had a "Connect" button, so there was no way to tell whether a device is actually connected to the bluetooth adapter before trying to connect to it. Each paired device now shows "Connected" or "Not Connected", refreshed every 3 seconds while on that screen. Adds OpenSCQ30Session::list_connected_devices, which lists connected devices regardless of model. Failures while refreshing (such as bluetooth being turned off) just hide the status rather than showing a warning. Demo devices never show a status.
sanjaymalladi
added a commit
to sanjaymalladi/OpenSCQ30
that referenced
this pull request
Oct 13, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
On the device selection screen there was no way to tell whether a paired device is actually connected to the bluetooth adapter — every device just had a "Connect" button, and the only feedback was an error after a failed connection attempt.
Each paired device now shows Connected (accent color) or Not Connected next to the buttons:
OpenSCQ30Session::list_connected_devices()(and_with_backends) which returnsRfcommBackend::devices()for the default backends, independent of device model.gui/i18n/en:bluetooth-connected,bluetooth-not-connected.Testing
Tested with a Soundcore R50i: status shows "Connected" while the earbuds are connected. I only have the macOS backend from #374 to test with locally, but the change itself is platform-independent — it only uses the existing
RfcommBackend::devices(), which on all backends returns connected devices only.Happy to adjust the layout/wording if you'd prefer something else (e.g. an icon or a badge instead of text).