Fixed hiding of HB commands with new @ALLCALL prefix
This commit is contained in:
parent
4b6d343850
commit
27c31aa954
@ -4889,6 +4889,8 @@ void MainWindow::processDecodedLine(QByteArray t){
|
|||||||
cmd.utcTimestamp = cd.utcTimestamp;
|
cmd.utcTimestamp = cd.utcTimestamp;
|
||||||
cmd.tdrift = cd.tdrift;
|
cmd.tdrift = cd.tdrift;
|
||||||
cmd.submode = cd.submode;
|
cmd.submode = cd.submode;
|
||||||
|
|
||||||
|
// TODO: check bits so we only auto respond to "finished" heartbeats
|
||||||
m_rxCommandQueue.append(cmd);
|
m_rxCommandQueue.append(cmd);
|
||||||
|
|
||||||
// notification for hb
|
// notification for hb
|
||||||
@ -10469,7 +10471,7 @@ void MainWindow::processRxActivity() {
|
|||||||
// if this is a _partial_ directed message, skip until the complete call comes through.
|
// if this is a _partial_ directed message, skip until the complete call comes through.
|
||||||
continue;
|
continue;
|
||||||
|
|
||||||
} else if(d.isDirected && d.text.contains(": HB ")){ // TODO: HEARTBEAT
|
} else if(d.isDirected && (d.text.contains(": HB ") || d.text.contains(": @ALLCALL HB"))){ // TODO: HEARTBEAT
|
||||||
// if this is a heartbeat, process elsewhere...
|
// if this is a heartbeat, process elsewhere...
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
@ -10881,7 +10883,7 @@ void MainWindow::processCommandActivity() {
|
|||||||
bool shouldDisplay = true;
|
bool shouldDisplay = true;
|
||||||
|
|
||||||
// don't display ping allcalls
|
// don't display ping allcalls
|
||||||
if(isAllCall && (d.cmd != " " || ad.text.contains(": HB "))){
|
if(isAllCall && (d.cmd != " " || ad.text.contains(": HB ") || ad.text.contains(": @ALLCALL HB "))){
|
||||||
shouldDisplay = false;
|
shouldDisplay = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user