From 3ab3d255adff9115354758c71e4fee33e2d4ced4 Mon Sep 17 00:00:00 2001 From: smeshT Date: Thu, 30 Apr 2026 21:13:54 -0600 Subject: [PATCH 1/6] Add integration with sBitx radio in README --- README.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 41e277d..cacb85c 100644 --- a/README.md +++ b/README.md @@ -6,6 +6,7 @@ A KISS TNC using the freedv data modems. - KISS interface (virtual serial, or TCP) - Chat - DATAC1, DATAC3 and DATAC4 modes + - Integrates with sBitx radio (see sBitx Setup) ## Unsupported - Windows @@ -157,4 +158,4 @@ volume Credits -- -David Rowe and the FreeDV team for developing the modem and libraries \ No newline at end of file +David Rowe and the FreeDV team for developing the modem and libraries From 5191ae40c78b39aa6b3402c777a97e61afacc4df Mon Sep 17 00:00:00 2001 From: smeshT Date: Thu, 30 Apr 2026 21:23:11 -0600 Subject: [PATCH 2/6] Add sBitx Setup documentation --- sBitx Setup | 4 ++++ 1 file changed, 4 insertions(+) create mode 100644 sBitx Setup diff --git a/sBitx Setup b/sBitx Setup new file mode 100644 index 0000000..d67c3e4 --- /dev/null +++ b/sBitx Setup @@ -0,0 +1,4 @@ +sBitx Setup + +## Run from Command Line + * 'bash From e199c63cb13379d8b7b8e0dd06b5bc46e5ff81da Mon Sep 17 00:00:00 2001 From: smeshT Date: Thu, 30 Apr 2026 22:28:16 -0600 Subject: [PATCH 3/6] added sBitx config --- sBitx_Setup.md | 65 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 sBitx_Setup.md diff --git a/sBitx_Setup.md b/sBitx_Setup.md new file mode 100644 index 0000000..73e102e --- /dev/null +++ b/sBitx_Setup.md @@ -0,0 +1,65 @@ +# sBitx Setup + +## Determine Audio Device + +* first determine the audio devices for input and output; bash `freedvtnc2 --list-audio-devices' in an sBitx terminal + +- Should print something like this at the end +``` +Id Name In Out SampleRate +0 Loopback: PCM (hw:1,0) 32 32 44100 +1 Loopback: PCM (hw:1,1) 2 32 48000 +2 Loopback: PCM (hw:2,0) 32 2 48000 +3 Loopback: PCM (hw:2,1) 32 32 44100 +4 Loopback: PCM (hw:3,0) 32 32 44100 +5 Loopback: PCM (hw:3,1) 32 32 44100 +6 pipewire 64 64 44100 +7 pulse 32 32 44100 +8 default 64 64 44100 +``` + +- On the machine above the Input device is the one that shows `2` under `In` and the output shows `2` under `Out` +- The Id numbers are used to call the device +- To use Loopback: PCM (hw:1,1) as the input device as a command line option `--input-device 1` +- For config files `input-device =1` no spaces after `=` + +## Run from Command Line +1. To start the application by specifying the options from command line, +```bash +freedvtnc2 --input-device 1 --output-device 2 --callsign NOCALL --mode DATAC4 +``` +replacing `1` and `2` with the devices you found above on your machine. + +## Run from config file +1. Check for config file, in the sBitx terminal bash `nano .freedvtnc2.conf` If the file is blank exit nano `ctrl + x` + +- bash `freedvtnc2` to start the application +- In the application command line type `save_config` This wiil auto generate a nearly working config file. freedvtnc2 will not be able to start from this config, you will get an error that the audio device cannot be found +- sBtix terminal again bash `nano .freedvtnc2` to open the config file. It will look something like this +``` +no-cli = False +list-audio-devices = False +log-level = INFO +input-device = +output-device = +output-volume = 0.0 +mode = DATAC4 +follow = False +max-packets-combined = 5 +pts = False +kiss-tcp-port = 8001 +kiss-tcp-address = 127.0.0.1 +rigctld-port = 4532 +rigctld-host = localhost +ptt-on-delay-ms = 100 +ptt-off-delay-ms = 100 +callsign = +``` +- Scroll down to `input-device =` and add the audio device Id right next to the `=`, no spaces. +- Repeat for `output-device =` +- It should look like this, again no spaces after the = +``` +input-device =1 +output-device =2 +``` +- Change mode and add callsign if desired (this can be done inside the app as well) \ No newline at end of file From 0cfe0f3bf68cb33774d63b44e0abdbd01926870b Mon Sep 17 00:00:00 2001 From: smeshT Date: Thu, 30 Apr 2026 22:28:49 -0600 Subject: [PATCH 4/6] Entered detailed config for sbitx --- sBitx Setup | 4 ---- 1 file changed, 4 deletions(-) delete mode 100644 sBitx Setup diff --git a/sBitx Setup b/sBitx Setup deleted file mode 100644 index d67c3e4..0000000 --- a/sBitx Setup +++ /dev/null @@ -1,4 +0,0 @@ -sBitx Setup - -## Run from Command Line - * 'bash From abf4d576d4ba1b1ec2fa3286eced4a9d07eede87 Mon Sep 17 00:00:00 2001 From: smeshT Date: Thu, 30 Apr 2026 22:34:47 -0600 Subject: [PATCH 5/6] fixed a typo in sBitx_Setup.md --- sBitx_Setup.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sBitx_Setup.md b/sBitx_Setup.md index 73e102e..ffdb560 100644 --- a/sBitx_Setup.md +++ b/sBitx_Setup.md @@ -2,7 +2,7 @@ ## Determine Audio Device -* first determine the audio devices for input and output; bash `freedvtnc2 --list-audio-devices' in an sBitx terminal +* first determine the audio devices for input and output; bash `freedvtnc2 --list-audio-devices` in an sBitx terminal - Should print something like this at the end ``` From 7bb54d84f075fdee80f3c6f67f2d33c3a473bc9f Mon Sep 17 00:00:00 2001 From: smeshT Date: Thu, 30 Apr 2026 22:42:49 -0600 Subject: [PATCH 6/6] added link to sBitx_Setup.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cacb85c..5dff214 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ A KISS TNC using the freedv data modems. - KISS interface (virtual serial, or TCP) - Chat - DATAC1, DATAC3 and DATAC4 modes - - Integrates with sBitx radio (see sBitx Setup) + - Integrates with sBitx radio (see [sBitx Setup](sBitx_Setup.md)) ## Unsupported - Windows