kopia lustrzana https://gitlab.com/eliggett/wfview
pseudo-terminal speed increase. Added E1 and E0 return procesing to
rigcommander. Added gitignore file.merge-requests/1/merge
rodzic
f30d300fe6
commit
016e91d367
|
@ -0,0 +1 @@
|
|||
*.pro.user
|
|
@ -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()
|
||||
|
|
|
@ -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?
|
||||
|
|
Ładowanie…
Reference in New Issue