Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Diag layer refactoring spinoffs #327

Merged
merged 6 commits into from
Aug 2, 2024
Merged

Conversation

andlaus
Copy link
Collaborator

@andlaus andlaus commented Aug 2, 2024

This PR contains most (i.e., all I found) of the changes of #326 which are not or only tangentially related to refactoring the DiagLayer class into a class hierarchy corresponding to the ODX specification.

Andreas Lauser <[email protected]>, on behalf of MBition GmbH.
Provider Information

Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Florian Jost <[email protected]>
@andlaus andlaus requested a review from kayoub5 August 2, 2024 11:04
Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Florian Jost <[email protected]>
the convention is that if a list can contain more than one type of
object, it gets a `_raw` suffix plus a separate property for the
processed data. In this case `.diag_comm_raw` may contain a
`OdxLinkRef`s to diagnostic communication objects or the diagnostic
communication objects themselfs. since diagnostic communication
objects may be either `DiagService` or `SingleEcuJob`, we now provide
the diagnostic communication objects with the resolved references via
`.diag_comms` and further stratify those into `.diag_services` and
`.single_ecu_jobs`.

Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Florian Jost <[email protected]>
Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Florian Jost <[email protected]>
i.e., no need to check if it is `None`.

Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Florian Jost <[email protected]>
odxtools/comparamspec.py Outdated Show resolved Hide resolved
even though we prefixed these numbers with `0x`, they were actually
printed as decimals...

Signed-off-by: Andreas Lauser <[email protected]>
Signed-off-by: Florian Jost <[email protected]>
@andlaus andlaus merged commit 258a2fe into mercedes-benz:main Aug 2, 2024
7 checks passed
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