Menu

Tree [7975a4] master hardware-serial /
 History

HTTPS access


File Date Author Commit
 BanansRTTY.png 2019-11-06 cavebirth cavebirth [16fb69] darken and clean up UI, refresh icon
 README.txt 2021-01-04 n8vwy n8vwy [7975a4] add alt-h hail, update readme and general cleanup
 baudotconverter.cpp 2020-09-29 n8vwy n8vwy [2c72c7] update file tags
 baudotconverter.h 2020-09-29 n8vwy n8vwy [2c72c7] update file tags
 filelogger.cpp 2020-11-27 n8vwy n8vwy [525364] round out the automation some more
 filelogger.h 2020-11-26 n8vwy n8vwy [18c0bd] add qso logging
 iothread.cpp 2021-01-04 n8vwy n8vwy [7975a4] add alt-h hail, update readme and general cleanup
 iothread.h 2020-12-18 n8vwy n8vwy [11b5f4] remove non-working halt and add repaint to text...
 main.cpp 2020-09-29 n8vwy n8vwy [2c72c7] update file tags
 mainwindow.cpp 2021-01-04 n8vwy n8vwy [7975a4] add alt-h hail, update readme and general cleanup
 mainwindow.h 2021-01-04 n8vwy n8vwy [7975a4] add alt-h hail, update readme and general cleanup
 mainwindow.ui 2021-01-04 n8vwy n8vwy [7975a4] add alt-h hail, update readme and general cleanup
 resources.qrc 2019-04-17 cavebirth cavebirth [9f5637] initial build with functional tx/rx
 righamlib.cpp 2020-11-22 n8vwy n8vwy [3c8041] hopefully now a sane event filter
 righamlib.h 2020-09-29 n8vwy n8vwy [2c72c7] update file tags
 serialrtty.pro 2020-09-29 n8vwy n8vwy [2c72c7] update file tags

Read Me

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with this program.  If not, see <https://www.gnu.org/licenses/>. 

----------------------------------------------------------------------
SerialRTTY - minimal terminal for RTTY via local serial port (TX/RX/RTS)

Conceived by Mike Samons N8VWY for amateur radio communications use.

requires QT5 basic and serial libs, hamlib dev source

----------------------------------------------------------------------


INSTALL from source directory

Linux:

mkdir build
cd build
qmake ../serialrtty.pro
make
sudo make install


I haven't built/tested on other platforms so use good judement according to Qt best practices, you may need to edit the .pro file to target properly, etc.


Lunch the app to create the config file which can be tailored as needed.

UI will show a green bar if serial opens properly or yellow (with a message) if not. Clicking the mouse will retry the serial port initialization.

Received text will appear in the top pane. To transmit freely type in the lower pane. Timeout default is 1 sec but can be tuned to the millisecond in the config file.

Text boxes from left to right (based on ADIF fields):
  * Call - hit enter in this field to send macro in setExch line of config file (sends exchange)
  * SRX - hit enter in this field to send macro in setTU line of config file (end of contact)
  * STX - set from and saved to the config file
  * Comment - set from and saved to the config file
  
Shortcut Keys:
  * Alt-Q (CQ) sends text in setCQ line of config file
  * Alt-H (Hail) sends text in setHail line of config file
  * Alt-E (Erase) clears the Call and SRX fields
  * Alt-L (Log) 

Config file (serialrtty.conf) hints:
  * toggle stxModeSerial (Y/N) to Y to increment STX serial, set to N for constant/string
  * ioSerialPort does not seem to need the /dev for *nix environments but the rigSerPort does
 
Sample config file:

[General]
COMMENT=NVL 7100
MY_GRIDSQUARE=EN80
MY_NAME=BUD
RST_SENT=599
STATION_CALLSIGN=N0CALL
ioBaudRate=45
ioSerPort=ttyS0
mainWindowGeometry=@ByteArray(\x1\xd9\xd0\xcb\0\x3\0\0\0\0\x1\x17\0\0\0]\0\0\x3\xa6\0\0\x2\xc7\0\0\x1\x17\0\0\0]\0\0\x3\xa6\0\0\x2\xc7\0\0\0\0\0\0\0\0\x5V\0\0\x1\x17\0\0\0]\0\0\x3\xa6\0\0\x2\xc7)
qsoLogFile=default.csv
rigHamlibModel=2
rigPollInterval=500
rigSerPort=/dev/ttyUSB0
setCQ=TEST [STATION_CALLSIGN] [STATION_CALLSIGN]
setExch=[CALL] DE [STATION_CALLSIGN] [STX] [MY_NAME] [MY_GRIDSQUARE]
setHail=[CALL] DE [STATION_CALLSIGN] [STATION_CALLSIGN]
setTU=[CALL] TU DE [STATION_CALLSIGN] TEST
stxLast=1
stxModeSerial=Y
txTimeout=1000