diff --git a/rigcommander.cpp b/rigcommander.cpp index 9077d06..6c2637a 100644 --- a/rigcommander.cpp +++ b/rigcommander.cpp @@ -503,6 +503,12 @@ void rigCommander::parseCommand() case 03: parseFrequency(); break; + case '\x25': + if((int)payloadIn[1] == 0) + { + emit haveFrequency((double)parseFrequency(payloadIn, 5)); + } + break; case '\x01': //qDebug() << "Have mode data"; this->parseMode(); @@ -528,6 +534,15 @@ void rigCommander::parseCommand() // printHex(payloadIn, false, true); model = determineRadioModel(payloadIn[2]); break; + case '\x26': + if((int)payloadIn[1] == 0) + { + // This works but LSB comes out as CW? + // Also, an opportunity to read the data mode + // payloadIn = payloadIn.right(3); + // this->parseMode(); + } + break; case '\x27': // scope data //qDebug() << "Have scope data"; @@ -688,7 +703,7 @@ void rigCommander::parsePTT() // Because I'm not sure about this: qDebug() << "PTT status received, here is the hex dump:"; printHex(payloadIn, false, true); - if(payloadIn[03] == (char)0) + if(payloadIn[2] == (char)0) { // PTT off emit havePTTStatus(false);