diff --git a/README.md b/README.md index ff91568..f4bf143 100644 --- a/README.md +++ b/README.md @@ -50,7 +50,7 @@ This project requires 5.8.0 or higher because of a dependency on QSerialBus. ## Instructions for compiling: -Download the newest stable version of Qt directly from qt.io (You need 5.8.x or newer) +[Download the newest stable version of Qt directly from qt.io](https://www.qt.io/download/) (You need 5.8.x or newer) ```sh cd ~ diff --git a/re/isotp_interpreterwindow.cpp b/re/isotp_interpreterwindow.cpp index 4d166f8..0907be2 100644 --- a/re/isotp_interpreterwindow.cpp +++ b/re/isotp_interpreterwindow.cpp @@ -28,6 +28,7 @@ ISOTP_InterpreterWindow::ISOTP_InterpreterWindow(const QVector *frames connect(ui->tableIsoFrames, &QTableWidget::itemSelectionChanged, this, &ISOTP_InterpreterWindow::showDetailView); connect(ui->btnClearList, &QPushButton::clicked, this, &ISOTP_InterpreterWindow::clearList); + connect(ui->cbUseExtendedAddressing, SIGNAL(toggled(bool)), this, SLOT(useExtendedAddressing(bool))); QStringList headers; headers << "Timestamp" << "ID" << "Bus" << "Dir" << "Length" << "Data"; @@ -132,6 +133,12 @@ void ISOTP_InterpreterWindow::clearList() //idFilters.clear(); } +void ISOTP_InterpreterWindow::useExtendedAddressing(bool checked) +{ + decoder->setExtendedAddressing(checked); + this->interpretCapturedFrames(); +} + void ISOTP_InterpreterWindow::updatedFrames(int numFrames) { if (numFrames == -1) //all frames deleted. Kill the display diff --git a/re/isotp_interpreterwindow.h b/re/isotp_interpreterwindow.h index 3ec1f4c..76c8ce5 100644 --- a/re/isotp_interpreterwindow.h +++ b/re/isotp_interpreterwindow.h @@ -30,6 +30,7 @@ private slots: void filterAll(); void filterNone(); void interpretCapturedFrames(); + void useExtendedAddressing(bool checked); private: Ui::ISOTP_InterpreterWindow *ui; @@ -43,6 +44,7 @@ private: void closeEvent(QCloseEvent *event); void readSettings(); void writeSettings(); + }; #endif // ISOTP_INTERPRETERWINDOW_H diff --git a/ui/connectionwindow.ui b/ui/connectionwindow.ui index e2578af..c24610e 100644 --- a/ui/connectionwindow.ui +++ b/ui/connectionwindow.ui @@ -131,7 +131,7 @@ 0 - 22 + 0 diff --git a/ui/isotp_interpreterwindow.ui b/ui/isotp_interpreterwindow.ui index cb6e353..77e398e 100644 --- a/ui/isotp_interpreterwindow.ui +++ b/ui/isotp_interpreterwindow.ui @@ -6,7 +6,7 @@ 0 0 - 792 + 830 725 @@ -42,13 +42,20 @@ - + Show incomplete and/or corrupted messages + + + + Use extended addressing + + +