Skip to content
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

Do not auto-connect bluetooth #2813

Open
lexxxel opened this issue Feb 5, 2025 · 1 comment
Open

Do not auto-connect bluetooth #2813

lexxxel opened this issue Feb 5, 2025 · 1 comment

Comments

@lexxxel
Copy link

lexxxel commented Feb 5, 2025

I have multiple bluetooth profiles configured (e.g. 1: PC, 2: Android Phone), but I only want the keyboard to be connected to the selected profile (1). The reason is, that android either hides the onscreen keyboard - or, if configured the other way around, always showing the onscreen keyboard. That is super annoying if I do not want to use the keyboard to write any text.

Is there a flag or anything, that I could use to only keep 1 connection open at a time?

Note: CONFIG_BT_MAX_CONN is not an option, because I set it to 2, but that results in a race between the two configured profiles and the right half of the keyboard (I have a split keyboard). I have to spam the disconnect Profile X button and hope it connects to the other half first. That might work with 2 Profiles, but with 3, it will fail for sure.

@caksoylar
Copy link
Contributor

Related: #1998, #2081

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants