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.
// qDebug() << "Sending data from pseudo-terminal to radio";
// Send this data to the radio:
QByteArray ptdata = pseudoterm->readAll();
//QByteArray ptdata = pseudoterm->readAll();
// should check the data and rollback
// for now though...
sendDataOut(ptdata);
//sendDataOut(ptdata);
sendDataOut(pseudoterm->readAll());
}
void commHandler::receiveDataIn()

Wyświetl plik

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