Skip to content

Add ClearDiagnosticInformation service (0x14)#489

Merged
rolandreichweinbmw merged 1 commit into
eclipse-openbsw:mainfrom
jiyuanwangbmw:feature/add-uds-service-0x14-clear-diagnostic-information
Jun 25, 2026
Merged

Add ClearDiagnosticInformation service (0x14)#489
rolandreichweinbmw merged 1 commit into
eclipse-openbsw:mainfrom
jiyuanwangbmw:feature/add-uds-service-0x14-clear-diagnostic-information

Conversation

@jiyuanwangbmw

@jiyuanwangbmw jiyuanwangbmw commented Jun 18, 2026

Copy link
Copy Markdown
Contributor

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:

  • 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

@jiyuanwangbmw jiyuanwangbmw force-pushed the feature/add-uds-service-0x14-clear-diagnostic-information branch from c082a64 to 9aaee11 Compare June 18, 2026 08:48

@rolandreichweinbmw rolandreichweinbmw left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

@jiyuanwangbmw jiyuanwangbmw force-pushed the feature/add-uds-service-0x14-clear-diagnostic-information branch from 9aaee11 to 70aba4c Compare June 18, 2026 13:09
@jiyuanwangbmw

Copy link
Copy Markdown
Contributor Author

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.

Commit messages adapted accordingly.

@jiyuanwangbmw jiyuanwangbmw force-pushed the feature/add-uds-service-0x14-clear-diagnostic-information branch from 821f306 to 6b388f1 Compare June 19, 2026 06:40
@jiyuanwangbmw jiyuanwangbmw changed the title feat(uds): add ClearDiagnosticInformation service (0x14) Add ClearDiagnosticInformation service (0x14) Jun 19, 2026
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
@jiyuanwangbmw jiyuanwangbmw force-pushed the feature/add-uds-service-0x14-clear-diagnostic-information branch from 6b388f1 to ab65818 Compare June 24, 2026 07:51
@rolandreichweinbmw rolandreichweinbmw merged commit 9558c24 into eclipse-openbsw:main Jun 25, 2026
129 checks passed
@jiyuanwangbmw jiyuanwangbmw deleted the feature/add-uds-service-0x14-clear-diagnostic-information branch June 25, 2026 08:46
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