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

8
linux/test_l2.py Normal file
View File

@@ -0,0 +1,8 @@
import bluetooth
address="28:2D:7F:C2:05:5B"
try:
sock = bluetooth.BluetoothSocket(bluetooth.L2CAP)
sock.connect((address, 0x1001))
sock.send(b"\x00\x00\x04\x00\x01\x00\x02\x00\x00\x00\x00\x00\x00\x00\x00\x00")
except bluetooth.btcommon.BluetoothError as e:
print(f"Error: {e}")