Added WeaveInterface
Some checks are pending
Build Reticulum / test (push) Waiting to run
Build Reticulum / package (push) Blocked by required conditions
Build Reticulum / release (push) Blocked by required conditions

This commit is contained in:
Mark Qvist 2025-10-28 02:31:33 +01:00
parent 3d8eaffe9a
commit 6d47b59b1e
2 changed files with 4 additions and 1 deletions

View file

@ -1,6 +1,5 @@
import RNS import RNS
import threading import threading
import serial
import time import time
from collections import deque from collections import deque

View file

@ -767,6 +767,10 @@ class Reticulum:
interface_post_init(interface) interface_post_init(interface)
interface.start() interface.start()
if c["type"] == "WeaveInterface":
interface = WeaveInterface.WeaveInterface(RNS.Transport, interface_config)
interface_post_init(interface)
if interface == None: if interface == None:
# Interface was not handled by any internal interface types, # Interface was not handled by any internal interface types,
# attempt to load and initialise it from user-supplied modules # attempt to load and initialise it from user-supplied modules