Refactoring Code to mesh with the architecture set by https://github.com/GammaGames/kano_wand
Overall - moving from bluez to bleak will give us universal usage, and the rest of the ML side of this project can go on without a hitch.
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
from enum import Enum
|
||||
|
||||
BUTTON = 1
|
||||
NINE_AXIS = 2
|
||||
ACCELEROMETER = 3
|
||||
@@ -15,3 +17,5 @@ CHARACTERISTIC_UUIDS = {
|
||||
TEMPERATURE:("64a70014-f691-4b93-a6f4-0968f5b648f8"),
|
||||
MAGNETOMETER:("64a70021-f691-4b93-a6f4-0968f5b648f8")
|
||||
} # <--- Change to the characteristic you want to enable notifications from.
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user