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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file tcpkissserver-0.1.0.tar.gz
.
File metadata
- Download URL: tcpkissserver-0.1.0.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.8.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9ba8f62dfccf9ea1dcc21b9b7e145b8451e6ada47b07e6fde55782b2230ba856 |
|
MD5 | 9895e5e7721c38e9da232135302a2a89 |
|
BLAKE2b-256 | dc306084aef1fe7476f921c5736c3ec6782d3b59d7149f3d00575c92f7fa5938 |