getsenic / gatt-python

Bluetooth GATT SDK for Python
MIT License
318 stars 86 forks source link

Feature Request: Ability to be able to disconnect already connected devices #47

Open ashesman opened 5 years ago

ashesman commented 5 years ago

Feature Request: Ability to be able to disconnect already connected devices

For example when something goes wrong and you don't get to disconnect nicely from a device, the next time you try to discover that device it is no longer available so you cannot connect to it again.

The ability to get a list of currently connected devices, then check if they offer the service you care about then disconnect them would be great. Similar to in the Adafruit BlueFruitLE libraries disconnect_devices([SERVICE_UUID]).

Otherwise, a great library, works well...