simplyequipped / fskmodem

Full duplex AFSK data modem

Home Page:https://simplyequipped.github.io/fskmodem/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

fskmodem

Python package for creating a full duplex audio frequency shift keying (AFSK) soft modem.

Example #1

import fskmodem

# use system default alsa audio device and modem defaults (300 baud)
modem = fskmodem.Modem()
modem.set_rx_callback(rx_func)

modem.send('hello world!')

Example #2

import fskmodem

def rx_callback(data):
    print(data)

# 1200 baud, start subprocesses later
modem = fskmodem.Modem(search_alsa_dev_in='USB PnP', baudrate=1200, start=False)
modem.set_rx_callback(rx_callback)
modem.start()

modem.send('hello world!')

Reticulum

Use fskmodem as a KISS TNC with Reticulum via the TCPClientInterface and the tcpkissserver package. See this gist to get started quickly, and be sure to update the Reticulum config file accordingly.

Install

Install the fskmodem package using pip:

pip3 install fskmodem

Dependencies

The minimodem package is required and can be installed on Debian systems using apt:

sudo apt install minimodem

Acknowledgements

The minimodem Unix application is developed by Kamal Mostafa http://www.whence.com/minimodem/

About

Full duplex AFSK data modem

https://simplyequipped.github.io/fskmodem/

License:MIT License


Languages

Language:Python 100.0%