Add ClearDiagnosticInformation service (0x14)#489
Merged
rolandreichweinbmw merged 1 commit intoJun 25, 2026
Conversation
c082a64 to
9aaee11
Compare
rolandreichweinbmw
left a comment
Contributor
There was a problem hiding this comment.
Please use https://github.com/eclipse-openbsw/openbsw/blob/main/doc/dev/guidelines/commit_message.rst for how to write the commit messages in OpenBSW.
9aaee11 to
70aba4c
Compare
Contributor
Author
Commit messages adapted accordingly. |
rolandreichweinbmw
previously approved these changes
Jun 19, 2026
821f306 to
6b388f1
Compare
Add the UDS service 0x14 (ClearDiagnosticInformation) to enable requesting clearing of DTCs. The actual clearing of DTCs is project-specific and must be provided by the integrator separately. This commit therefore adds only: * a demo implementation of the service in the library which handles: - groupOfDTC 0xFFFFFF (all DTCs) returns a positive response - any other group returns NRC 0x31 (requestOutOfRange) - the fixed request length of 4 bytes is validated by the framework * registration of the service in the reference application * unit tests covering the supported groupOfDTC cases
6b388f1 to
ab65818
Compare
rolandreichweinbmw
approved these changes
Jun 24, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Add UDS service ClearDiagnosticInformation (0x14)
Add the UDS service 0x14 (ClearDiagnosticInformation) to enable
requesting clearing of DTCs. The actual clearing of DTCs is
project-specific and must be provided by the integrator separately.
This commit therefore adds only:
-- groupOfDTC 0xFFFFFF (all DTCs) returns a positive response
-- any other group returns NRC 0x31 (requestOutOfRange)
-- the fixed request length of 4 bytes is validated by the framework