qttermtcp
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
qttermtcp [2023/03/12 12:47] – 2e0sip | qttermtcp [2023/05/21 16:21] – [Raspbian Desktop] ab4mw | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== QtTermTCP ====== | ====== QtTermTCP ====== | ||
- | QtTermTCP is a software package created by John G8BPQ that acts as a " | + | QtTermTCP is a software package created by John G8BPQ that acts as a " |
+ | |||
+ | The following Wiki page covers getting started with QtTermTCP. It assumes you've got a working Radio + TNC setup. | ||
Line 29: | Line 31: | ||
This completes the installation. | This completes the installation. | ||
+ | |||
+ | ==== Ubuntu 22.04 ==== | ||
+ | |||
+ | Tom M0LTE has kindly setup some Github actions for building QTTermTCP for 64 bit Linux. The subsequent compiled binary can be found [[https:// | ||
+ | |||
+ | First of all open a terminal, change to root, and install the dependencies: | ||
+ | < | ||
+ | su root | ||
+ | apt-get update | ||
+ | apt-get install libqt5serialport5 libqt5widgets5 | ||
+ | |||
+ | Next download the binary and make it executable: | ||
+ | |||
+ | < | ||
+ | wget -P / | ||
+ | chmod +x / | ||
+ | </ | ||
+ | |||
+ | Then create a .desktop file so you can find QtTermTCP in your applications menu. | ||
+ | |||
+ | < | ||
+ | nano / | ||
+ | </ | ||
+ | |||
+ | Enter the following: | ||
+ | |||
+ | < | ||
+ | # | ||
+ | [Desktop Entry] | ||
+ | Version=1.0 | ||
+ | Type=Application | ||
+ | Terminal=false | ||
+ | Exec=/ | ||
+ | Name=QTTermTCP | ||
+ | Comment=QTTermTCP | ||
+ | </ | ||
+ | |||
+ | Then press '' | ||
+ | |||
+ | You should now be able to launch QtTermTCP from the " | ||
+ | |||
+ | ==== Raspbian Desktop ==== | ||
+ | === NOTE: the following instructions work exactly the same for Ubuntu 22.04 === | ||
+ | |||
+ | QtTermTCP can be compiled for a Raspberry Pi. From a fresh install run the following commands: | ||
+ | |||
+ | < | ||
+ | # First let's install the support packages. | ||
+ | sudo apt-get install -y qt5-qmake qtbase5-dev libqt5serialport5-dev git | ||
+ | |||
+ | # Move to the user's home folder and create a source folder. | ||
+ | # If it already exists, it's ok. | ||
+ | cd | ||
+ | mkdir -p src | ||
+ | cd src | ||
+ | |||
+ | # Download the source code. | ||
+ | git clone git:// | ||
+ | cd QtTermTCP | ||
+ | |||
+ | # We want to do a shadow build so it's easy to update later | ||
+ | mkdir build | ||
+ | cd build | ||
+ | qmake .. | ||
+ | |||
+ | # NOTE: older Pi's like 2's and 3's will want to use a " | ||
+ | # but Pi 4/ | ||
+ | make -j4 | ||
+ | |||
+ | # Now the executable will reside in the build folder so let' | ||
+ | # make a tidy home for it as a folder in our home folder. | ||
+ | mkdir -p ~/QtTermTCP | ||
+ | cp QtTermTCP ~/QtTermTCP | ||
+ | cd ~/QtTermTCP | ||
+ | |||
+ | # Ensure the program is executable. | ||
+ | chmod +x QtTermTCP | ||
+ | |||
+ | # Now make a simple script to use for a desktop shortcut or manually starting the program. | ||
+ | touch QtTermTCP.sh | ||
+ | echo "# | ||
+ | echo "cd ~/ | ||
+ | echo " | ||
+ | echo "exit 0" >> QtTermTCP.sh | ||
+ | chmod +x QtTermTCP.sh | ||
+ | </ | ||
+ | |||
+ | The program may be run using the shell script found at / | ||
+ | |||
+ | This shell script may also be used to build a shortcut for the desktop. | ||
+ | |||
+ | |||
===== Setup ===== | ===== Setup ===== | ||
Line 34: | Line 128: | ||
Usage should be similar for both Windows and Linux versions. | Usage should be similar for both Windows and Linux versions. | ||
- | ==== Kiss Over TCP ==== | + | ==== KISS ==== |
+ | |||
+ | KISS (Keep It Simple, Stupid) is a protocol for communicating with a serial terminal node controller (TNC) device used for amateur radio. An example of a modern TNC is the NinoTNC. | ||
+ | |||
+ | Open QTTermTCP, click '' | ||
+ | |||
+ | Tick Enable '' | ||
+ | |||
+ | In the Serial Setup section select the COM port of the attached TNC, and enter the desired baud rate (Note: This is the baud rate of the serial device itself, not the baud rate you wish to transmit at). The Baud Rate for the NinoTNC is 57600. | ||
+ | |||
+ | {{:: | ||
+ | |||
+ | |||
+ | ==== KISS Over TCP ==== | ||
- | Kiss Over TCP is useful if you're running QtTermTCP and want to connect to Dire Wolf, either running locally, or perhaps | + | KISS Over TCP is useful if you're running QtTermTCP and want to connect to Dire Wolf, which is either running locally, or perhaps running on a Raspberry Pi and you want to connect from QtTermTCP running on your daily driver PC. |