mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2024-12-24 11:40:31 -05:00
Restrict automatic recognition of CQ nnn calls to exactly nnn of 010 through 999 inclusive
The values of CQ 000 through CQ 009 are reserved for calling by numbers to reduce a pile up e.g. "CQ 2 P5/G4WJS" indicating only callers with a 2 in their callsign should call. Numeric balues with less than 3 digits or more 3 digits are not allowed in standard messages. This is in line with the message source encoding protocol. Thanks to Mike, W9MDB, for the cotribution this change was based on. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@8572 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
parent
e19c93a3cd
commit
7ae483dc29
@ -4039,7 +4039,7 @@ void MainWindow::processMessage (DecodedText const& message, Qt::KeyboardModifie
|
||||
&& m_config.is_transceiver_online ()) {
|
||||
bool ok;
|
||||
auto kHz = parts[6].toUInt (&ok);
|
||||
if (ok && kHz >= 10 && kHz <= 999) {
|
||||
if (ok && kHz >= 10 && 3 == parts[6].size ()) {
|
||||
// QSY Freq for answering CQ nnn
|
||||
setRig (m_freqNominal / 1000000 * 1000000 + 1000 * kHz);
|
||||
ui->decodedTextBrowser2->displayQSY (QString {"QSY %1"}.arg (m_freqNominal / 1e6, 7, 'f', 3));
|
||||
|
Loading…
Reference in New Issue
Block a user