-
Notifications
You must be signed in to change notification settings - Fork 41
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Only connect if the device is not alrready connected #17
Comments
As far a I am aware, the device's current connected status is not shared during discovery. If a device didn't want to have its connection replaced, it should simply not advertise itself or reject new connections when it already has one, so what you are describing may actually be a "feature" of your headphones. As the software on devices like headphones is generally outside of our control, some hijinx may be necessary. As your phone would know whether or not it was already connected, that information could somehow be shared to your computer and then used to inhibit the connection (as we scan for devices that are paired AND trusted, running A more simple solution may be to turn off the bluetooth-autoconnect daemon services and to use it manually in one-shot mode, or more simply, removing bluetooth-autoconnect entirely and using bluez directly with If you are using bluetooth-autoconnect for other devices and there is a need to exclude specific devices to control them manually, I could see value in adding inclusion/exclusion filters to our command line arguments. Perhaps something like Disclaimer: I do not claim to be an expert on Bluez, Bluetooth, or the like. There may be solutions I have not considered. |
The hotkey binding makes the most sense for my use-case I guess. Although I am super surprised that bluetooth headphones do not propagate their connectivity status via broadcast or something. Thank you for your help! Really appreciated! |
Often I have my headphones already connected to my phone. After turning on my PC, the headphones automatically get connected to my PC and lose the phone connection.
Can I somehow configure this daemon to only try to connect if the devices aren't already connected?
The text was updated successfully, but these errors were encountered: