Skip to content

simplyequipped/tcpkissserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TCP KISS Server

TCP KISS server for connecting software applications to Reticulum using its built-in TCP client interface (with kiss framing enabled).

Reticulum Configuration

Reticulum will need to be configured appropriately to interact with the TCP KISS server. Using the default server IP address and port number would look like this:

[[TCP KISS Interface]]
    type = TCPClientInterface
    interface_enabled = True
    kiss_framing = True
    target_host = 127.0.0.1
    target_port = 8001

See the TCP Client Interface section in the Reticulum manual for more information.

Note that the server IP address and port number are configurable:

server = tcpkissserver.Server(bind_ip='192.168.0.5', bind_port=8005, tx_callback=my_function)

Be sure to configure Reticulum to match.

Example

import fskmodem
import tcpkissserver

modem = fskmodem.Modem()
server = tcpkissserver.Server(tx_callback=modem.send)
modem.set_rx_callback(server.receive)

Data received by the modem will be passed to the server which will then pass the data to Reticulum. Data sent by Reticulum will be received by the server which will then pass the data to the modem for transmitting.

About

TCP KISS server for connecting software to Reticulum

Resources

License

Stars

Watchers

Forks

Languages