Skip to content

Commit

Permalink
Added live and post functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-AUG committed Sep 1, 2024
1 parent 5a157ba commit 8f4353a
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 4 deletions.
Empty file modified LICENSE
100644 → 100755
Empty file.
5 changes: 3 additions & 2 deletions README.md
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -16,14 +16,15 @@ This logger can work either with CAT control or without. It can also be set up f
* Can be used to log simple incremental number contests (more features to be added anon)
* Confirms each QSO before logging and allows you to correct any errors
* Allows user to carry manually entered frequency and mode information over multiple QSOs to save entering the same information each time
* **NEW** Allows entry of both live **and post** QSOs, meaning you can quickly enter QSOs made while away from the computer

## CAT Control

To make use of the CAT control features, you need to install and run Hamlib's rigctld (rig control daemon) software. This is a fairly simple procedure and, included in the repository, is the file 'xiegu.sh' which I use to start the daemon when I am out /P. This daemon should be left running in the background and, if you wish, ToppLog will connect to it and take frequency and mode information from the radio. For more information, see [man rigctld](https://www.mankier.com/1/rigctld) and the [Hamlib GitHub repo](https://github.com/Hamlib/Hamlib).

## CSV to ADIF

There are many ways to convert between CSV and ADIF, but I recommend this one - [csv2adif](https://github.com/M0LTE/csv2adif) - written by [Tom M0 LTE](https://github.com/M0LTE), which he wrote to work with ToppLog's CSV output.
There are many ways to convert between CSV and ADIF, but I recommend this one - [csv2adif](https://github.com/M0LTE/csv2adif) - written by [Tom M0LTE](https://github.com/M0LTE), which he wrote to work with ToppLog's CSV output.

## Contesting

Expand All @@ -35,6 +36,6 @@ If you have any feedback about ToppLog, or want to see new features added (withi

Happy logging!

73 Michael GM5 AUG
73 Michael GM5AUG

[gm5aug.topple.scot](https://gm5aug.topple.scot)
34 changes: 32 additions & 2 deletions log.sh
100644 → 100755
Original file line number Diff line number Diff line change
@@ -1,11 +1,10 @@
echo "WELCOME TO ToppLog - GM5 AUG'S LOGGING PROGRAM"
echo "WELCOME TO ToppLog - GM5AUG'S LOGGING PROGRAM"
echo "-----------------------------"
echo "Station Callsign"
read station
filename=$(echo $station | sed 's/^\///;s/\//_/g')
echo "Station Locator"
read stationLocator
date=$(date +%Y%m%d)
echo "Station Operator"
read op
echo "CAT control = 1, manual = 0"
Expand All @@ -19,6 +18,19 @@ fi
echo "Contest = 1, non contest = 0"
read contest

echo "Live log = 1 or post log = 0 ?"
read livepost

if [ "$livepost" -eq 1 ]
then
date=$(date +%Y%m%d)
elif [ "$livepost" -ne 1 ]
then
echo "Date YYYYMMDD"
read date
fi


if [ "$contest" -eq 1 ]
then
echo "Callsign,Frequency,Mode,TX-RST,TX-SER,RX-RST,RX-SER,UTC-On,UTC-Off,Operator,Station,Date,Power,StationLocator,Locator" >> contest_log_$filename\_$date.csv
Expand All @@ -35,7 +47,16 @@ do
echo "-----------------------------"
echo "Callsign"
read call

if [ "$livepost" -eq 1 ]
then
utcon=$(date -u +%H%M%S)
elif [ "$livepost" -ne 1 ]
then
echo "QSO UTC time HHMMSS"
read utcon
fi


if [ "$catcont" -eq 1 ]
then
Expand Down Expand Up @@ -89,7 +110,16 @@ then
fi
fi

if [ "$livepost" -eq 1 ]
then
utcoff=$(date -u +%H%M%S)
elif [ "$livepost" -ne 1 ]
then
echo "QSO UTC time off HHMMSS"
read utcoff
fi


echo "Correct? 1 or 0"
echo "$call $freq $mode $tx $rx $utc $op $locator"
read confirm
Expand Down
Empty file modified xiegu.sh
100644 → 100755
Empty file.

0 comments on commit 8f4353a

Please sign in to comment.