Skip to main content

TCP KISS server to connect software to Reticulum (RNS)

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tcpkissserver-0.1.0.tar.gz (5.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page