From b85ea6585d5033837c219ff37af2686b8168d749 Mon Sep 17 00:00:00 2001 From: Terra Date: Sun, 24 Apr 2022 23:32:49 +0200 Subject: [PATCH] Add keys and message ID checking --- MultiNode/Configurator.py | 2 +- RasPi/Config.toml | 7 ++++-- RasPi/MultiNode.py | 51 +++++++++++++++++++++++++++------------ TODO | 1 - 4 files changed, 41 insertions(+), 20 deletions(-) diff --git a/MultiNode/Configurator.py b/MultiNode/Configurator.py index 954bac2..adea776 100644 --- a/MultiNode/Configurator.py +++ b/MultiNode/Configurator.py @@ -86,7 +86,7 @@ port.write(b"w") port.write(bytearray(config)) server_key = 0x2e29b257521dc792 -client_key = 0x0#0x7ed64cce5b5d8e85 +client_key = 0x7ed64cce5b5d8e85 port.write(b"k") port.write(struct.pack("