Added flow control and other functionality to UDS / ISO_TP code.

This commit is contained in:
Collin Kidder
2017-08-13 17:03:11 -04:00
parent 83399ed0a7
commit c05bd2c043
10 changed files with 147 additions and 27 deletions
+4 -1
View File
@@ -11,6 +11,9 @@ ISOTP_InterpreterWindow::ISOTP_InterpreterWindow(const QVector<CANFrame> *frames
decoder = ISOTP_HANDLER::getInstance();
decoder->setReception(true);
decoder->setProcessAll(true);
connect(MainWindow::getReference(), &MainWindow::framesUpdated, this, &ISOTP_InterpreterWindow::updatedFrames);
connect(MainWindow::getReference(), &MainWindow::framesUpdated, decoder, &ISOTP_HANDLER::updatedFrames);
connect(decoder, &ISOTP_HANDLER::newISOMessage, this, &ISOTP_InterpreterWindow::newISOMessage);
@@ -123,7 +126,7 @@ void ISOTP_InterpreterWindow::showDetailView()
}
void ISOTP_InterpreterWindow::newISOMessage(ISOTP_MESSAGE &msg)
void ISOTP_InterpreterWindow::newISOMessage(ISOTP_MESSAGE msg)
{
int rowNum;
QString tempString;