mirror of
https://github.com/markqvist/Reticulum.git
synced 2025-08-12 00:11:12 -04:00
Added KISS framing option to TCP client interface
This commit is contained in:
parent
8fe7c19c59
commit
2e4fcc659c
2 changed files with 80 additions and 22 deletions
|
@ -333,11 +333,16 @@ class Reticulum:
|
|||
|
||||
|
||||
if c["type"] == "TCPClientInterface":
|
||||
kiss_framing = False
|
||||
if "kiss_framing" in c and c.as_bool("kiss_framing") == True:
|
||||
kiss_framing = True
|
||||
|
||||
interface = TCPInterface.TCPClientInterface(
|
||||
RNS.Transport,
|
||||
name,
|
||||
c["target_host"],
|
||||
int(c["target_port"])
|
||||
int(c["target_port"]),
|
||||
kiss_framing = kiss_framing
|
||||
)
|
||||
|
||||
if "outgoing" in c and c.as_bool("outgoing") == True:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue