mirror of
https://github.com/markqvist/Reticulum.git
synced 2024-12-27 00:19:29 -05:00
19 lines
329 B
Python
Executable File
19 lines
329 B
Python
Executable File
import RNS
|
|
|
|
class Interface:
|
|
IN = False
|
|
OUT = False
|
|
FWD = False
|
|
RPT = False
|
|
name = None
|
|
|
|
def __init__(self):
|
|
self.rxb = 0
|
|
self.txb = 0
|
|
self.online = False
|
|
|
|
def get_hash(self):
|
|
return RNS.Identity.full_hash(str(self).encode("utf-8"))
|
|
|
|
def detach(self):
|
|
pass |