mirror of
https://github.com/markqvist/Reticulum.git
synced 2026-05-19 06:14:47 -07:00
Added WeaveInterface
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user