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

Information on reaching OS Bluetooth connection limit #696

Open
dariuszseweryn opened this issue Jun 8, 2020 · 2 comments
Open

Information on reaching OS Bluetooth connection limit #696

dariuszseweryn opened this issue Jun 8, 2020 · 2 comments

Comments

@dariuszseweryn
Copy link
Owner

Is your feature request related to a problem? Please describe.
Original post.

Describe the solution you'd like
It would be awesome if the library would warn the user whenever the OS reaches maximum established Bluetooth connections.

Describe alternatives you've considered
Maybe not an alternative but a doubt as maximum Bluetooth connections may vary not only by API level but from vendor to vendor or even from chip manufacturer to another which may decrease usability of such a feature.

Additional context
According to this SO post the maximum OS level Bluetooth connections is limited by MAX_L2CAP_LINKS value which is:

@remonh87
Copy link

remonh87 commented Jul 23, 2020

@dariuszseweryn that is a good idea however I know from experience that for some Huawei (e.g. P20) and Xaomi devices the threshold is lower( I even saw a Android 9 phone that had issues when connecting more then 6) , so your doubt is indeed justified :). I think a warning with this disclaimer can still be good one or add it to the FAQ.

@dariuszseweryn
Copy link
Owner Author

There are two things:

  1. The OS limits
  2. The actual Bluetooth Chip limits — there are numerous Bluetooth Chip manufacturers there and capabilities of the chips and firmwares that those chips run can be widely different. YMMV :(

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

No branches or pull requests

2 participants