1
0
mirror of https://github.com/undera/pylgbst.git synced 2020-11-18 19:37:26 -08:00

Better disconnect for Gatt

This commit is contained in:
Andrey Pohilko 2019-01-06 11:11:53 +03:00
parent 3de5f7820a
commit 985f528359

View File

@ -112,6 +112,7 @@ class GattConnection(Connection):
return self
def disconnect(self):
self._manager.stop()
self._device.disconnect()
def write(self, handle, data):