From 854a7f2a5c29c468f95d1213fe658d26ad981dfe Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Tue, 3 Jul 2018 14:17:49 -0400 Subject: [PATCH] NewCode.txt describes some necessary code additions. --- Configuration.ui | 2 +- lib/77bit/NewCode.txt | 49 +++++++++++++++++++++++++++++++++++++++++++ lib/77bit/todo.txt | 2 +- mainwindow.cpp | 1 + 4 files changed, 52 insertions(+), 2 deletions(-) create mode 100644 lib/77bit/NewCode.txt diff --git a/Configuration.ui b/Configuration.ui index 7dc243f56..aa3d03dec 100644 --- a/Configuration.ui +++ b/Configuration.ui @@ -20,7 +20,7 @@ Select tab to change configuration parameters. - 7 + 0 diff --git a/lib/77bit/NewCode.txt b/lib/77bit/NewCode.txt new file mode 100644 index 000000000..bf232d202 --- /dev/null +++ b/lib/77bit/NewCode.txt @@ -0,0 +1,49 @@ +i3 n3 isync Operating activity, Message Type +----------------------------------------------------------- + 0 0 1 Std QSO msg (bit 72=0) + 0 0 1 Free text (bit 72=1) + 0 1 1 Fox DXpedition msg with "RR73;" +----------------------------------------------------------- + 1 0 2 Std QSO msg + 0 1 2 Fox DXpedition msg with "RR73;" + 1 * 2 NA VHF contest + 2 * 2 EU VHF contest (Tx1, Tx6) + 0 2 2 EU VHF contest (Tx2, Tx3) + 0 3 2 ARRL Field Day (1-16 transmitters) + 0 4 2 ARRL Field Day (17-32 transmitters) + 3 * 2 ARRL RTTY Roundup + 4 * 2 Compound and non-standard calls +----------------------------------------------------------- +* ==> "don't care" (types i3=1,2,3,4 do not have subtypes) +----------------------------------------------------------- + +A. Required GUI Additions (after July 3): + + 1. Entry widgets for fixed parts of contest exchanges: comboBoxes + for ARRL section, US State/Canadian Province, Field Day + #transmitters and Class. + + 2. Spinner control for serial numbers: used for EU_VHF_Contest, + and for DX stations in RTTYroundup. + +B. Code near the end of GenStdMsgs(): + + 1. if(m_config.bNA_VHF_Contest()): do as with present checkbox + 2. if(m_config.bEU_VHF_Contest()): make EU_VHF messages + 3. if(m_config.bFieldDay()): make FD messages + 4. if(m_config.bRTTYroundup()): make RR messages + 5. if MyCall or DXcall is compound or nonstandard, make new msgs + +C. Code just before calling genft8_(): + + 1. m_i3=0, m_n3=0, m_isync=1 + 2. if(check m_config.bGenerate77()) m_isync=2 + 3. if msg is not an old-style standard msg, see if it's valid + as a 77-bit msg + 4. if NO: transmit as Free Text + if YES: set i3 and n3 accordingly + +D. Auto-sequencer code + + 1. Probably lots of changes needed: details TBD, after we make the + new messages work with Auto-Seq off. diff --git a/lib/77bit/todo.txt b/lib/77bit/todo.txt index e16a37166..e5de35b9a 100644 --- a/lib/77bit/todo.txt +++ b/lib/77bit/todo.txt @@ -48,4 +48,4 @@ The following are just ideas: 0-5 calls, report sent to 0-5 calls. Decoding uses AP for missing calls, thereby effectively making lower-rate codes when not all slots are used. -- +- Hound should send spots of Fox to PSK Reporter. diff --git a/mainwindow.cpp b/mainwindow.cpp index 24e6e725d..d531d1208 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -3657,6 +3657,7 @@ void MainWindow::guiUpdate() //Once per second: if(nsec != m_sec0) { +// qDebug() << "OneSec:" << m_config.bGenerate77() << m_config.bDecode77(); if(m_freqNominal!=0 and m_freqNominal<50000000 and m_config.enable_VHF_features()) { if(!m_bVHFwarned) vhfWarning(); } else {