mercedes-benz / odxtools

odxtools is a collection of utilities to interact with the diagnostic functionality of automotive electronic control units using python
MIT License
171 stars 70 forks source link

Refactor encoding, part 6 (requiem) #296

Closed andlaus closed 4 months ago

andlaus commented 4 months ago

This PR is the "final final" one of this series. It contains a few changes/cleanups which I stumbled over while doing the previous five parts. The biggest changes are the conversion of DiagCodedType._encode_internal_value() to EncodeState.emplace_atomic_value() and synchronizing the NRC-CONST parameter code to my current understanding of that matter. (I have no datasets which make use of them and I had some issues understanding what they are good for, but I think I now do have a decent grasp.)

Andreas Lauser <andreas.lauser@mercedes-benz.com>, on behalf of MBition GmbH. Provider Information