pseudo-terminal speed increase. Added E1 and E0 return procesing to

rigcommander. Added gitignore file.
merge-requests/1/merge
Elliott Liggett 2019-01-10 12:31:04 -08:00
rodzic f30d300fe6
commit 016e91d367
3 zmienionych plików z 9 dodań i 4 usunięć

1
.gitignore vendored 100644
Wyświetl plik

@ -0,0 +1 @@
*.pro.user

Wyświetl plik

@ -165,10 +165,11 @@ void commHandler::receiveDataInPt()
// We received data from the pseudo-term. // We received data from the pseudo-term.
// qDebug() << "Sending data from pseudo-terminal to radio"; // qDebug() << "Sending data from pseudo-terminal to radio";
// Send this data to the radio: // Send this data to the radio:
QByteArray ptdata = pseudoterm->readAll(); //QByteArray ptdata = pseudoterm->readAll();
// should check the data and rollback // should check the data and rollback
// for now though... // for now though...
sendDataOut(ptdata); //sendDataOut(ptdata);
sendDataOut(pseudoterm->readAll());
} }
void commHandler::receiveDataIn() void commHandler::receiveDataIn()

Wyświetl plik

@ -451,6 +451,7 @@ void rigCommander::parseData(QByteArray dataInput)
// break; // break;
// case '\xE0': // case '\xE0':
case (char)0xE0:
case (char)compCivAddr: case (char)compCivAddr:
// data is a reply to some query we sent // data is a reply to some query we sent
// extract the payload out and parse. // extract the payload out and parse.
@ -555,8 +556,10 @@ void rigCommander::parseCommand()
break; break;
default: default:
qDebug() << "Have other data with cmd: " << std::hex << payloadIn[00]; // This gets hit a lot when the pseudo-term is
printHex(payloadIn, false, true); // using commands wfview doesn't know yet.
// qDebug() << "Have other data with cmd: " << std::hex << payloadIn[00];
// printHex(payloadIn, false, true);
break; break;
} }
// is any payload left? // is any payload left?