From 65a40aefb69e7d47df56df2be3c35882ac8e9249 Mon Sep 17 00:00:00 2001 From: jeremy Date: Tue, 3 Sep 2024 01:57:07 -0400 Subject: [PATCH] trying to get techo working --- Makefile | 2 +- RNS/Interfaces/RNodeInterface.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index ed0fe8b..12e56c5 100644 --- a/Makefile +++ b/Makefile @@ -2,7 +2,7 @@ all: release test: @echo Running tests... - python -m tests.all + python3 -m tests.all clean: @echo Cleaning... diff --git a/RNS/Interfaces/RNodeInterface.py b/RNS/Interfaces/RNodeInterface.py index 00c97a4..bdfc6bc 100644 --- a/RNS/Interfaces/RNodeInterface.py +++ b/RNS/Interfaces/RNodeInterface.py @@ -472,13 +472,13 @@ class RNodeInterface(Interface): RNS.log("Bandwidth mismatch", RNS.LOG_ERROR) self.validcfg = False if (self.txpower != self.r_txpower): - RNS.log("TX power mismatch", RNS.LOG_ERROR) + RNS.log("TX power mismatch: " + str(self.txpower) + " vs " + str(self.r_txpower), RNS.LOG_ERROR) self.validcfg = False if (self.sf != self.r_sf): RNS.log("Spreading factor mismatch", RNS.LOG_ERROR) self.validcfg = False if (self.state != self.r_state): - RNS.log("Radio state mismatch", RNS.LOG_ERROR) + RNS.log("Radio state mismatch: " + str(self.state) + " vs " + str(self.r_state), RNS.LOG_ERROR) self.validcfg = False if (self.validcfg):