Skip to content

add 0x2F InputOutputControlByIdentifier#88

Merged
driftregion merged 3 commits intodriftregion:mainfrom
frickly-systems:tim/feat/io-control
Sep 16, 2025
Merged

add 0x2F InputOutputControlByIdentifier#88
driftregion merged 3 commits intodriftregion:mainfrom
frickly-systems:tim/feat/io-control

Conversation

@ParaZera
Copy link
Contributor

The PR should add support for the 0x2F InputOutputControlByIdentifier function.

  • added a handler for the 0x2F function
  • added event and arg-struct
  • added tests for happy path, malformed request and negative response
  • renamed kSID_INPUT_CONTROL_BY_IDENTIFIER to kSID_IO_CONTROL_BY_IDENTIFIER to better reflect the function name

Again for full context: I used a different bazel and gcc version to update the iso14229.c/h files

diff --git a/.bazelversion b/.bazelversion
index 0e79152..6da4de5 100644
--- a/.bazelversion
+++ b/.bazelversion
@@ -1 +1 @@
-8.1.1
+8.4.1
diff --git a/toolchain/BUILD b/toolchain/BUILD
index 6ee76bc..c05efe6 100644
--- a/toolchain/BUILD
+++ b/toolchain/BUILD
@@ -77,6 +77,8 @@ gcc_toolchain(
     include_dirs = [
         "/usr/lib/gcc/x86_64-linux-gnu/11/include/",
         '/usr/lib/gcc/x86_64-linux-gnu/13/include/',
+        '/usr/lib/gcc/x86_64-linux-gnu/13/include/',
+        '/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/',
     ],
     target_compatible_with = [
         "@platforms//cpu:x86_64",

@codecov
Copy link

codecov bot commented Sep 16, 2025

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 32.07%. Comparing base (902c172) to head (604720a).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@             Coverage Diff             @@
##             main      #88       +/-   ##
===========================================
- Coverage   57.80%   32.07%   -25.74%     
===========================================
  Files           6        2        -4     
  Lines        3055     2114      -941     
  Branches      621      430      -191     
===========================================
- Hits         1766      678     -1088     
- Misses        899     1301      +402     
+ Partials      390      135      -255     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

Signed-off-by: Tim Schrader <tim.schrader@frickly.systems>
…BY_IDENTIFIER

The UDS Service is called InputOutputControlByIdentifier. The new name better reflects the "output" part.

Signed-off-by: Tim Schrader <tim.schrader@frickly.systems>
I used a differente bazel and gcc version by applying the following
patch before build:

```diff
diff --git a/.bazelversion b/.bazelversion
index 0e79152..6da4de5 100644
--- a/.bazelversion
+++ b/.bazelversion
@@ -1 +1 @@
-8.1.1
+8.4.1
diff --git a/toolchain/BUILD b/toolchain/BUILD
index 6ee76bc..c05efe6 100644
--- a/toolchain/BUILD
+++ b/toolchain/BUILD
@@ -77,6 +77,8 @@ gcc_toolchain(
     include_dirs = [
         "/usr/lib/gcc/x86_64-linux-gnu/11/include/",
         '/usr/lib/gcc/x86_64-linux-gnu/13/include/',
+        '/usr/lib/gcc/x86_64-linux-gnu/13/include/',
+        '/usr/lib/gcc/x86_64-pc-linux-gnu/15.2.1/include/',
     ],
     target_compatible_with = [
         "@platforms//cpu:x86_64",

```
@driftregion driftregion merged commit 4b4100b into driftregion:main Sep 16, 2025
6 of 7 checks passed
@driftregion
Copy link
Owner

Nice work @ParaZera

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants