added basic cryptography, advertising, and forwarding functionality to the LoRa handler. Also added a UUID class for generating unique IDs for each device.

also, i have 2 radios now! :D
This commit is contained in:
2026-05-15 10:24:49 +10:00
parent 8abf447d66
commit 6f8083fdc2
8 changed files with 201 additions and 55 deletions

View File

@@ -57,6 +57,7 @@ class BluetoothHandler:
def deserialize_msg(self, s: bytes):
# returns packet type (int) and deserialized data
print(s[1:].decode())
return s[0], eval(s[1:].decode())
def _get_mac_address(self):