From f4a51cd73c2084d54c5522cdea0cbffbfefd9015 Mon Sep 17 00:00:00 2001 From: mvgalen Date: Fri, 29 Nov 2024 17:55:47 +0100 Subject: [PATCH 1/3] Support for > 8 bytes per message --- framefileio.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/framefileio.cpp b/framefileio.cpp index 79b5527..38ed8c3 100644 --- a/framefileio.cpp +++ b/framefileio.cpp @@ -3784,12 +3784,17 @@ bool FrameFileIO::loadCanDumpFile(QString filename, QVector* frames) if (line.contains('[')) //the expanded format (second one from the above list) { //(1551774790.942758) can1 7A8 [8] F4 DC D1 83 0E 02 00 00 + //(1551774790.942758) can1 7A8 [08] F4 DC D1 83 0E 02 00 00 // 0 1 2 3 4 5 6 7 8 9 10 11 thisFrame.setFrameId(tokens[2].toLong(nullptr, 16)); if (thisFrame.frameId() > 0x7FF) thisFrame.setExtendedFrameFormat(true); else thisFrame.setExtendedFrameFormat(false); thisFrame.setFrameType(QCanBusFrame::DataFrame); - int numBytes = tokens[3].at(1) - '0'; + int numBytes; + if (tokens[3].at(2) == ']') + numBytes = tokens[3].at(1) - '0'; + else + numBytes = (tokens[3].at(1) - '0')*10 + (tokens[3].at(2) - '0'); QByteArray bytes(numBytes, 0); for (int c = 0; c < numBytes; c++) { From dc4b2c4c3a18d069a455755567327148a882c21f Mon Sep 17 00:00:00 2001 From: mvgalen Date: Fri, 29 Nov 2024 19:36:31 +0100 Subject: [PATCH 2/3] add manual trigger --- .github/workflows/build.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index a2c7e6f..5e33c73 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,7 @@ on: push: branches: - "master" - + workflow_dispatch: jobs: buildlinux: name: Linux x64 From 1c0886bb5815b13540882af9e6670e37cf495bb1 Mon Sep 17 00:00:00 2001 From: Collin Kidder Date: Mon, 5 May 2025 18:26:46 -0400 Subject: [PATCH 3/3] Update build.yml --- .github/workflows/build.yml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 5e33c73..fa04916 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -4,7 +4,6 @@ on: push: branches: - "master" - workflow_dispatch: jobs: buildlinux: name: Linux x64