Reticulum/FPE/Transport.py
2018-03-19 16:39:08 +01:00

17 lines
342 B
Python
Executable File

import FPE
class Transport:
# Constants
BROADCAST = 0x00;
TRANSPORT = 0x01;
RELAY = 0x02;
TUNNEL = 0x03;
types = [BROADCAST, TRANSPORT, RELAY, TUNNEL]
@staticmethod
def outbound(raw):
FPE.FlexPE.outbound(raw)
@staticmethod
def registerDestination(destination):
FPE.FlexPE.addDestination(destination)