Skip to content

How to disconnect by bless #90

@trueroad

Description

@trueroad

Describe the solution you'd like
I would like to disconnect by bless (i.e., by peripheral), not by central.

If I understand correctly,
BlessServer.stop() stops advertising but does not disconnect.
The destructor of BlessServer class also does not disconnect.
Therefore, unless disconnected by central, the connection keeps to remain even if the Python script that imports bless exits.

Describe alternatives you've considered
BleakClient class has disconnect() method.
But, BlessServer class does not have the disconnect() method.

Additional context
I use Windows 10.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions