From 6d47b59b1ef26a0a65a65cadce0617a21ce336c7 Mon Sep 17 00:00:00 2001 From: Mark Qvist Date: Tue, 28 Oct 2025 02:31:33 +0100 Subject: [PATCH] Added WeaveInterface --- RNS/Interfaces/WeaveInterface.py | 1 - RNS/Reticulum.py | 4 ++++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/RNS/Interfaces/WeaveInterface.py b/RNS/Interfaces/WeaveInterface.py index d2d3fc7..a896a7b 100644 --- a/RNS/Interfaces/WeaveInterface.py +++ b/RNS/Interfaces/WeaveInterface.py @@ -1,6 +1,5 @@ import RNS import threading -import serial import time from collections import deque diff --git a/RNS/Reticulum.py b/RNS/Reticulum.py index cd80e64..f2594b3 100755 --- a/RNS/Reticulum.py +++ b/RNS/Reticulum.py @@ -767,6 +767,10 @@ class Reticulum: interface_post_init(interface) interface.start() + if c["type"] == "WeaveInterface": + interface = WeaveInterface.WeaveInterface(RNS.Transport, interface_config) + interface_post_init(interface) + if interface == None: # Interface was not handled by any internal interface types, # attempt to load and initialise it from user-supplied modules