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:
Lucas Oskorep
2020-02-11 16:29:03 -06:00
parent e91c870eca
commit 5df2dd6b47
7 changed files with 1587 additions and 64 deletions
+4
View File
@@ -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.