Skip to content

Conversation

@Dalachowsky
Copy link

Describe your changes

Added all messages specified in 8.4.5 DC-Messages section of ISO15118-2 along with tests. Messages for tests were generated using libcbv2g, thus some values might seem absurd.
Files from src/iso15118/message/d2 directory have 100% test coverage.
The MeterInfo convert() functions do not have 100% coverage. Only the case where all fields are present is covered.

Issue ticket number and link

Checklist before requesting a review

  • I have performed a self-review of my code
  • I have made corresponding changes to the documentation
  • I read the contribution documentation and made sure that my changes meet its requirements

Kacper Dalach added 3 commits December 17, 2025 09:14
These structs are a common part in many messages.

Signed-off-by: Kacper Dalach <kdalach@elektrometal.com.pl>
Signed-off-by: Kacper Dalach <kdalach@elektrometal.com.pl>
Signed-off-by: Kacper Dalach <kdalach@elektrometal.com.pl>
Kacper Dalach added 5 commits December 19, 2025 13:18
Signed-off-by: Kacper Dalach <kdalach@elektrometal.com.pl>
Added datatypes that are common among DC messages.

Signed-off-by: Kacper Dalach <kdalach@elektrometal.com.pl>
Signed-off-by: Kacper Dalach <kdalach@elektrometal.com.pl>
Signed-off-by: Kacper Dalach <kdalach@elektrometal.com.pl>
Signed-off-by: Kacper Dalach <kdalach@elektrometal.com.pl>
@Dalachowsky Dalachowsky force-pushed the feat/adding-iso2-support-dc-messages branch from 8679f60 to dacfb7d Compare December 19, 2025 12:19
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.

1 participant