1
0
mirror of https://github.com/saitohirga/WSJT-X.git synced 2025-03-23 20:48:33 -04:00

Make the FT8 Hound mode compatible with MSHV messages.

This commit is contained in:
Uwe Risse 2023-03-01 17:40:55 +01:00
parent e1865d4a4d
commit 8cec7c7e2a

View File

@ -4167,7 +4167,8 @@ void MainWindow::readFromStdout() //readFromStdout
hound_reply ();
}
} else {
QStringList w=decodedtext.string().replace("<","").replace(">","").mid(24).split(" ",SkipEmptyParts); // .replace("<","").replace(">","") is needed for MSHV multistream messages
QString text = decodedtext.string().replace("<","").replace(">",""); // needed for MSHV multistream messages
QStringList w=text.mid(24).split(" ",SkipEmptyParts);
if(decodedtext.string().contains("/")) w.append(" +00"); //Add a dummy report
if(w.size()>=3) {
QString foxCall=w.at(1);
@ -4182,7 +4183,8 @@ void MainWindow::readFromStdout() //readFromStdout
m_rptRcvd=w.at(2);
m_rptSent=decodedtext.string().mid(7,3);
m_nFoxFreq=decodedtext.string().mid(16,4).toInt();
hound_reply ();
} else {
if (text.contains(m_config.my_callsign() + " " + m_hisCall) && !text.contains("73 ")) processMessage(decodedtext0); // needed for MSHV multistream messages
}
}
}