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
+2 -1
View File
@@ -19,6 +19,7 @@ UDSScanWindow::UDSScanWindow(const QVector<CANFrame> *frames, QWidget *parent) :
waitTimer->setInterval(100);
UDS_HANDLER::getInstance()->setReception(true);
UDS_HANDLER::getInstance()->setProcessAllIDs(true);
connect(MainWindow::getReference(), SIGNAL(framesUpdated(int)), this, SLOT(updatedFrames(int)));
connect(UDS_HANDLER::getInstance(), &UDS_HANDLER::newUDSMessage, this, &UDSScanWindow::gotUDSReply);
@@ -317,7 +318,7 @@ void UDSScanWindow::updatedFrames(int numFrames)
}
}
void UDSScanWindow::gotUDSReply(UDS_MESSAGE &msg)
void UDSScanWindow::gotUDSReply(UDS_MESSAGE msg)
{
QString result;
QString serviceShortName;