API: Added RX.GET_CALL_SELECTED

This commit is contained in:
Jordan Sherer 2018-08-15 22:31:01 -04:00
parent 60c0f24ef8
commit 9815c4dde9

View File

@ -9231,6 +9231,7 @@ void MainWindow::networkMessage(Message const &message)
}
// RX.GET_CALL_ACTIVITY
// RX.GET_CALL_SELECTED
// RX.GET_BAND_ACTIVITY
// RX.GET_TEXT
@ -9248,6 +9249,11 @@ void MainWindow::networkMessage(Message const &message)
return;
}
if(type == "RX.GET_CALL_SELECTED"){
sendNetworkMessage("RX.CALL_SELECTED", callsignSelected());
return;
}
if(type == "RX.GET_BAND_ACTIVITY"){
QMap<QString, QVariant> offsets;
foreach(auto offset, m_bandActivity.keys()){