mirror of
https://github.com/saitohirga/WSJT-X.git
synced 2025-03-23 12:38:53 -04:00
WIP toward moving the conversion from old Fox messages to new command string in the new external program sfox_tx.
This commit is contained in:
parent
2f600ae198
commit
ed248eb702
@ -10894,5 +10894,22 @@ void MainWindow::sfox_tx(QString t)
|
||||
QString t2=p2.readAllStandardOutput();
|
||||
t2=t2.left(t2.length()-2);
|
||||
// qDebug() << "aa" << QDateTime::currentMSecsSinceEpoch() - ms0 << t2;
|
||||
qDebug() << "aa" << t2;
|
||||
// qDebug() << "aa" << t2;
|
||||
p4.start("sfox_tx2",QStringList {""});
|
||||
p4.waitForStarted();
|
||||
QString t0;
|
||||
for(int i=0; i<foxcom_.nslots; i++) {
|
||||
foxcom_.cmsg[i][39]=0;
|
||||
t0=t0.asprintf("%s\n",foxcom_.cmsg[i]).trimmed();
|
||||
// qDebug() << i << t0;
|
||||
p4.write(t0.toLatin1());
|
||||
}
|
||||
p4.closeWriteChannel();
|
||||
p4.waitForFinished();
|
||||
QString t4;
|
||||
t4=p4.readAllStandardOutput();
|
||||
// for(int i=0; i<foxcom_.nslots; i++) {
|
||||
// t4=p4.readLine();
|
||||
// t4=t4.left(t2.length()-2);
|
||||
qDebug() << "bb" << t4;
|
||||
}
|
||||
|
@ -624,6 +624,7 @@ private:
|
||||
NonInheritingProcess p3;
|
||||
|
||||
QProcess p2;
|
||||
QProcess p4;
|
||||
|
||||
WSPRNet *wsprNet;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user