From bba67836f0b95392d4ba3f1c786832f3fdd2b2e5 Mon Sep 17 00:00:00 2001 From: "jacob.eva" Date: Fri, 13 Sep 2024 11:30:54 +0100 Subject: [PATCH 1/2] Add support for openCom XL --- RNS/Utilities/rnodeconf.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/RNS/Utilities/rnodeconf.py b/RNS/Utilities/rnodeconf.py index 016c032..3a6d93f 100755 --- a/RNS/Utilities/rnodeconf.py +++ b/RNS/Utilities/rnodeconf.py @@ -170,6 +170,11 @@ class ROM(): PRODUCT_RAK4631 = 0x10 MODEL_11 = 0x11 MODEL_12 = 0x12 + MODEL_13 = 0x13 + MODEL_14 = 0x14 + PRODUCT_OPENCOM_XL = 0x20 + MODEL_21 = 0x21 + PRODUCT_TECHO = 0x15 MODEL_T4 = 0x16 @@ -221,6 +226,7 @@ products = { ROM.PRODUCT_H32_V3: "Heltec LoRa32 v3", ROM.PRODUCT_TECHO: "LilyGO T-Echo", ROM.PRODUCT_RAK4631: "RAK4631", + ROM.PRODUCT_OPENCOM_XL: "openCom XL", } platforms = { @@ -263,8 +269,11 @@ models = { 0xE8: [850000000, 950000000, 22, "850 - 950 MHz", "rnode_firmware_tbeam_sx1262.zip", "SX1262"], 0x11: [430000000, 510000000, 22, "430 - 510 MHz", "rnode_firmware_rak4631.zip", "SX1262"], 0x12: [779000000, 928000000, 22, "779 - 928 MHz", "rnode_firmware_rak4631.zip", "SX1262"], + 0x11: [430000000, 510000000, 22, "430 - 510 MHz", "rnode_firmware_rak4631_sx1280.zip", "SX1262 + SX1280"], + 0x12: [779000000, 928000000, 22, "779 - 928 MHz", "rnode_firmware_rak4631_sx1280.zip", "SX1262 + SX1280"], 0x16: [779000000, 928000000, 22, "430 - 510 Mhz", "rnode_firmware_techo.zip", "SX1262"], 0x17: [779000000, 928000000, 22, "779 - 928 Mhz", "rnode_firmware_techo.zip", "SX1262"], + 0x21: [820000000, 960000000, 22, "820 - 960 MHz", "rnode_firmware_opencom_xl.zip", "SX1262 + SX1280"], 0xFE: [100000000, 1100000000, 17, "(Band capabilities unknown)", None, "Unknown"], 0xFF: [100000000, 1100000000, 14, "(Band capabilities unknown)", None, "Unknown"], } From 76362bad4a28394a3ccf9400ab3bfdfddc4fc87d Mon Sep 17 00:00:00 2001 From: liamcottle Date: Mon, 16 Sep 2024 14:27:08 +1200 Subject: [PATCH 2/2] fix KISSInterface is not defined error for AX25KISSInterface --- RNS/Interfaces/AX25KISSInterface.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/RNS/Interfaces/AX25KISSInterface.py b/RNS/Interfaces/AX25KISSInterface.py index 1f54c52..483c562 100644 --- a/RNS/Interfaces/AX25KISSInterface.py +++ b/RNS/Interfaces/AX25KISSInterface.py @@ -96,7 +96,7 @@ class AX25KISSInterface(Interface): self.stopbits = stopbits self.timeout = 100 self.online = False - self.bitrate = KISSInterface.BITRATE_GUESS + self.bitrate = AX25KISSInterface.BITRATE_GUESS self.packet_queue = [] self.flow_control = flow_control