2021-01-15 07:57:56 +00:00
|
|
|
# FreeDV-JATE
|
|
|
|
## FreeDV- Just Another TNC Experiment
|
|
|
|
My first attempt to learn more about FreeDV and how to create a TNC which gets data from a TCP/IP socket
|
2020-12-12 19:01:57 +00:00
|
|
|
|
2020-12-12 19:40:00 +00:00
|
|
|
|
2021-02-24 13:16:29 +00:00
|
|
|
## Credits
|
2020-12-12 19:40:00 +00:00
|
|
|
|
2021-02-24 13:16:29 +00:00
|
|
|
David Rowe and the FreeDV team for developing the modem and libraries
|
|
|
|
FreeDV Codec 2 : https://github.com/drowe67/codec2
|
2021-02-16 18:39:08 +00:00
|
|
|
|
|
|
|
|
2021-02-24 13:16:29 +00:00
|
|
|
This software has been heavily inspired by https://github.com/xssfox/freedv-tnc/
|
2020-12-12 19:40:00 +00:00
|
|
|
|
2021-02-16 18:39:08 +00:00
|
|
|
|
|
|
|
|
2020-12-12 19:40:00 +00:00
|
|
|
|
|
|
|
|
2021-02-24 13:16:29 +00:00
|
|
|
## Setup
|
|
|
|
Install FreeDV-Socket-TNC directly to home folder and compile codec2 automatically
|
2020-12-12 19:08:40 +00:00
|
|
|
```
|
2021-05-13 14:16:06 +00:00
|
|
|
sudo apt install python3-pyaudio build-essential cmake
|
|
|
|
python3 -m pip install crcengine ( if stuck in installing, run as superuser - sudo )
|
|
|
|
sudo adduser $USER dialout
|
2021-02-24 13:16:29 +00:00
|
|
|
wget https://raw.githubusercontent.com/DJ2LS/FreeDV-Socket-TNC/dev/install_socket_tnc.sh -O ~/install_socket_tnc.sh
|
|
|
|
chmod +x ~/install_socket_tnc.sh
|
|
|
|
./install_socket_tnc.sh
|
2020-12-12 19:08:40 +00:00
|
|
|
```
|
2021-05-13 14:16:06 +00:00
|
|
|
## List audio interfaces
|
|
|
|
```
|
|
|
|
cd ~/FreeDV-JATE
|
|
|
|
python3 tools/list_audio_devices.py
|
|
|
|
```
|
2020-12-12 19:07:38 +00:00
|
|
|
|
2021-02-24 13:16:29 +00:00
|
|
|
## Usage main program
|
2020-12-23 20:13:30 +00:00
|
|
|
```
|
2021-05-09 09:39:28 +00:00
|
|
|
python3 main.py --rx 1 --tx 1 --deviceport /dev/ttyUSB0 --deviceid 311
|
2020-12-23 20:13:30 +00:00
|
|
|
```
|
|
|
|
|
2021-05-09 09:39:28 +00:00
|
|
|
## Usage GUI
|
2020-12-23 20:13:30 +00:00
|
|
|
```
|
2021-05-09 09:39:28 +00:00
|
|
|
cd tools/tnc_gui
|
|
|
|
python3 tnc_gui.py
|
2020-12-23 20:13:30 +00:00
|
|
|
```
|