mirror of
https://github.com/kavishdevar/librepods.git
synced 2026-04-25 08:05:56 +03:00
[PR #98] [MERGED] [Linux] Improve connection stability #283
Labels
No labels
android
bug
documentation
enhancement
good first issue
help wanted
linux
pull-request
reverse-engineering
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/librepods#283
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/kavishdevar/librepods/pull/98
Author: @tim-gromeyer
Created: 4/16/2025
Status: ✅ Merged
Merged: 4/17/2025
Merged by: @tim-gromeyer
Base:
main← Head:linux-disconnect-behaviour📝 Commits (1)
abfbe5e[Linux] Improve connection stability📊 Changes
4 files changed (+204 additions, -150 deletions)
View changed files
📝
linux/BluetoothMonitor.cpp(+99 -31)📝
linux/BluetoothMonitor.h(+10 -2)📝
linux/Main.qml(+1 -0)📝
linux/main.cpp(+94 -117)📄 Description
For me the old method with QBluetoothDeviceDiscoveryAgent the connecting was pretty unstable.
It was disconnecting after a short amount of time, always. Since we already rely on BlueZ (only supported backend in Qt for Linux), I use the bluez dbus api to check for connected/disconnected devices.
Our Qt code than only connects to the service, not the device itself.
With this change I noticed a improvement in the time it takes for the app to connect to the airpods.
It's a pretty big change, and I wanna know what you think about it (@kavishdevar). I only noticed improvements.
Upsides I know of:
Possible downsides:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.