head gestures, maybe??

This commit is contained in:
Kavish Devar
2024-12-03 03:15:24 +05:30
parent f12cf0c16f
commit 3fe268eb15
19 changed files with 750 additions and 436 deletions

View File

@@ -45,6 +45,7 @@ class Connection:
def send(self, data: bytes):
try:
logging.info(f"Sending data to {self.mac_address}: {data}")
self.socket.send(data)
except bluetooth.btcommon.BluetoothError as e:
logging.error(f'Failed to send data to {self.mac_address}: {e}')
@@ -83,4 +84,4 @@ class Connection:
def __del__(self):
self.socket.close()
pass
pass