Displaying incremental transmit of frames...still needs some work...
This commit is contained in:
parent
c5451a2029
commit
fe3b2ab80f
@ -6182,7 +6182,7 @@ QString MainWindow::createMessageTransmitQueue(QString const& text, bool reset){
|
|||||||
m_txFrameQueue.append(frames);
|
m_txFrameQueue.append(frames);
|
||||||
m_txFrameCount += frames.length();
|
m_txFrameCount += frames.length();
|
||||||
|
|
||||||
#if 0
|
#if 1
|
||||||
int freq = currentFreqOffset();
|
int freq = currentFreqOffset();
|
||||||
qDebug() << "creating message for freq" << freq;
|
qDebug() << "creating message for freq" << freq;
|
||||||
|
|
||||||
@ -6190,7 +6190,8 @@ QString MainWindow::createMessageTransmitQueue(QString const& text, bool reset){
|
|||||||
|
|
||||||
// TODO: jsherer - move this outside of create message transmit queue
|
// TODO: jsherer - move this outside of create message transmit queue
|
||||||
auto joined = Varicode::rstrip(lines.join(""));
|
auto joined = Varicode::rstrip(lines.join(""));
|
||||||
displayTextForFreq(QString("%1 %2 ").arg(joined).arg(m_config.eot()), freq, DriftingDateTime::currentDateTimeUtc(), true, true, true);
|
|
||||||
|
//displayTextForFreq(QString("%1 %2 ").arg(joined).arg(m_config.eot()), freq, DriftingDateTime::currentDateTimeUtc(), true, true, true);
|
||||||
|
|
||||||
// if we're transmitting a message to be displayed, we should bump the repeat buttons...
|
// if we're transmitting a message to be displayed, we should bump the repeat buttons...
|
||||||
#if JS8HB_RESET_HB_TIMER_ON_TX
|
#if JS8HB_RESET_HB_TIMER_ON_TX
|
||||||
@ -6200,7 +6201,7 @@ QString MainWindow::createMessageTransmitQueue(QString const& text, bool reset){
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
// keep track of the last message text sent
|
// keep track of the last message text sent
|
||||||
m_lastTxMessage += text;
|
m_lastTxMessage += joined;
|
||||||
|
|
||||||
return joined;
|
return joined;
|
||||||
#else
|
#else
|
||||||
@ -6407,6 +6408,10 @@ bool MainWindow::prepareNextMessageFrame()
|
|||||||
m_txFrameCountSent += 1;
|
m_txFrameCountSent += 1;
|
||||||
qDebug() << "total sent:" << m_txFrameCountSent << "\n" << m_totalTxMessage;
|
qDebug() << "total sent:" << m_txFrameCountSent << "\n" << m_totalTxMessage;
|
||||||
|
|
||||||
|
// display the frame...
|
||||||
|
auto freq = currentFreqOffset();
|
||||||
|
displayTextForFreq(QString("%1 %2 ").arg(dt.message()).arg(m_txFrameQueue.isEmpty() ? m_config.eot(): ""), freq, DriftingDateTime::currentDateTimeUtc(), true, false, false);
|
||||||
|
|
||||||
ui->nextFreeTextMsg->setText(frame);
|
ui->nextFreeTextMsg->setText(frame);
|
||||||
m_i3bit = bits;
|
m_i3bit = bits;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user