mirror of
https://github.com/DJ2LS/FreeDATA
synced 2024-05-14 08:04:33 +00:00
48 lines
742 B
Markdown
48 lines
742 B
Markdown
# FreeDV-Socket-TNC
|
|
My first attempt to learn more about FreeDV and how to create a TNC which gets data from a TCP/IP Socket.
|
|
|
|
|
|
|
|
## Credits
|
|
|
|
David Rowe and the FreeDV team for developing the modem and libraries
|
|
FreeDV Codec 2 : https://github.com/drowe67/codec2
|
|
|
|
|
|
This software has been heavily inspired by https://github.com/xssfox/freedv-tnc/
|
|
|
|
|
|
|
|
|
|
|
|
## Setup
|
|
```
|
|
sudo apt install portaudio19-dev
|
|
```
|
|
|
|
## Usage main program
|
|
```
|
|
./main.py --port 3000 --tx 1 --rx 1
|
|
```
|
|
|
|
## Usage testclient
|
|
```
|
|
./socketclient.py --port 3000 --data "BC: hello"
|
|
```
|
|
|
|
|
|
## Socket Commands
|
|
|
|
Send a simple broadcast
|
|
```
|
|
BC:<DATA>
|
|
```
|
|
|
|
|
|
## Other stuff
|
|
|
|
Create audio sinkhole
|
|
```
|
|
sudo modprobe snd-aloop index=1,2 enable=1,1 pcm_substreams=1,1 id=CHAT1,CHAT2
|
|
```
|
|
|