From f0c8842c058c3481463e8b99e542302eaf96b7a5 Mon Sep 17 00:00:00 2001 From: Phil Taylor Date: Sun, 5 Feb 2023 21:33:02 +0000 Subject: [PATCH] Actually send the response! --- rigctld.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/rigctld.cpp b/rigctld.cpp index c481e8f..05f8514 100644 --- a/rigctld.cpp +++ b/rigctld.cpp @@ -1268,26 +1268,27 @@ void rigCtlClient::socketReadyRead() .arg(split).arg(rigState->getChar(SATMODEFUNC)).arg(rigCaps.modelName).arg(WFVIEW_VERSION); unsigned long crc = doCrc((unsigned char*)resp.toStdString().c_str(), resp.length()); resp = resp + QString("CRC=0x%0").arg(crc, 8, 10, QLatin1Char('0')); + response.append(resp); } else if (command.length() > 0 && (command[0] == "a" || command[0] == "get_trn")) { - responseCode = -18; + responseCode = -18; //Deprecated } else if (command.length() > 0 && (command[0] == "A" || command[0] == "set_trn")) { - responseCode = -18; + responseCode = -18; //Deprecated } else if (command.length() > 0 && (command[0] == "G" || command[0] == "vfo_op")) { - responseCode = -11; + responseCode = -11; //Not implemented } else if (command.length() > 0 && (command[0] == "u" || command[0] == "get_func")) { - responseCode = -11; + responseCode = -11; //Not implemented } else if (command.length() > 0 && (command[0] == "U" || command[0] == "set_func")) { - responseCode = -11; + responseCode = -11; //Not implemented } else if (command.length() > 0 && (command[0] == "_" || command[0] == "get_info")) {