Skip to content

BLE watch often disconnect just after a sucessful connect #344

@Jo-Blade

Description

@Jo-Blade

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions