diff --git a/Notes/Header format b/Notes/Header format index b0f8d39..9464591 100644 --- a/Notes/Header format +++ b/Notes/Header format @@ -3,7 +3,7 @@ header types type 1 00 One byte header, one 10 byte address field type 2 01 One byte header, two 10 byte address fields type 3 10 Reserved -type 4 11 Reserved for extended packet format +type 4 11 Reserved for extended header format propagation types diff --git a/RNS/Interfaces/AX25KISSInterface.py b/RNS/Interfaces/AX25KISSInterface.py index 866bc2d..035671e 100644 --- a/RNS/Interfaces/AX25KISSInterface.py +++ b/RNS/Interfaces/AX25KISSInterface.py @@ -119,7 +119,6 @@ class AX25KISSInterface(Interface): if preamble > 255: preamble = 255 - RNS.log("Setting preamble to "+str(preamble)+" "+chr(preamble)) kiss_command = KISS.FEND+KISS.CMD_TXDELAY+chr(preamble)+KISS.FEND written = self.serial.write(kiss_command) if written != len(kiss_command): diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py index ac20333..07ad9f3 100755 --- a/RNS/Reticulum.py +++ b/RNS/Reticulum.py @@ -56,6 +56,10 @@ class Reticulum: value = self.config["logging"][option] if option == "loglevel": RNS.loglevel = int(value) + if RNS.loglevel < 0: + RNS.loglevel = 0 + if RNS.loglevel > 6: + RNS.loglevel = 6 for name in self.config["interfaces"]: c = self.config["interfaces"][name]