mirror of
https://github.com/meshtastic/python.git
synced 2026-06-16 11:29:58 -04:00
Merge branch 'master' into wls_add_types2
This commit is contained in:
@@ -222,7 +222,7 @@ class BLEInterface(MeshInterface):
|
||||
logging.error(f"Error closing mesh interface: {e}")
|
||||
|
||||
if self._want_receive:
|
||||
self.want_receive = False # Tell the thread we want it to stop
|
||||
self._want_receive = False # Tell the thread we want it to stop
|
||||
if self._receiveThread:
|
||||
self._receiveThread.join(
|
||||
timeout=2
|
||||
@@ -234,6 +234,7 @@ class BLEInterface(MeshInterface):
|
||||
self.client.disconnect()
|
||||
self.client.close()
|
||||
self.client = None
|
||||
self._disconnected() # send the disconnected indicator up to clients
|
||||
|
||||
|
||||
class BLEClient:
|
||||
|
||||
Reference in New Issue
Block a user