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

BLE watch often disconnect just after a sucessful connect #344

Open
Jo-Blade opened this issue Feb 21, 2025 · 1 comment
Open

BLE watch often disconnect just after a sucessful connect #344

Jo-Blade opened this issue Feb 21, 2025 · 1 comment

Comments

@Jo-Blade
Copy link

Jo-Blade commented Feb 21, 2025

I am writing a BLE central for a BLE watch. Sometimes the program works perfectly but sometimes the watch disconnect just before the service discovery begins.

I didn't find a way to detect when the disconnect occurs so my program crashed when it happens (it does not trigger adapter.SetConnectHandler() ).

I have just seen in Wireshark that when I run the program and a disconnect happens, I have the following messages:

Image

And when everything works fine I have no "SMP" protocol at all in wireshark.

I don't understand what the problem is.

edit: My computer is x86/64 Linux

Thank you in advance

@deadprogram
Copy link
Member

"Pairing Not Supported"

The bluetooth package does not currently support pairing, hence the error.

Please see #242

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