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:
parent
3de5f7820a
commit
985f528359
@ -112,6 +112,7 @@ class GattConnection(Connection):
|
|||||||
return self
|
return self
|
||||||
|
|
||||||
def disconnect(self):
|
def disconnect(self):
|
||||||
|
self._manager.stop()
|
||||||
self._device.disconnect()
|
self._device.disconnect()
|
||||||
|
|
||||||
def write(self, handle, data):
|
def write(self, handle, data):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user