-
Notifications
You must be signed in to change notification settings - Fork 115
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
Disabling BlueZ request to pair with central on connect. #390
Comments
Can I check my understanding of what the problem is here... Are you saying that you've created a peripheral with Bluezero and when you connect to it from a central device it asks for pairing even though the Bluezero created peripheral has no requirement for pairing? Is this the "battery" plugin issue? |
Correct and setting |
Would removing the Battery plugin be a better solution for you?
|
perfect, thanks, that worked. |
also just to note that there's no more pairing request 'noise' in the logs. |
Hello,
tl;dr: Found a way to stop the pairing request, but what's the most correct and simplest way to disable the BlueZ pairing request from bluezero/Python code?
Well, this is new (to me, today) behaviour.
I guess BlueZ is trying to be 'more secure' by default, sensible, but kinda annoying...
The issue I have elsewhere is that the recommended React Native JS client library doesn't support pairing, joy.
So, until that library gets replaced with something sensible I found a way to disable the request:
Although it appears to work on the surface there are 2 issues:
Regards
Wayne
The text was updated successfully, but these errors were encountered: