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

Request: Add example for retrieving VIN (UDS)? #22

Open
raleighlittles opened this issue Jul 30, 2023 · 1 comment
Open

Request: Add example for retrieving VIN (UDS)? #22

raleighlittles opened this issue Jul 30, 2023 · 1 comment

Comments

@raleighlittles
Copy link

raleighlittles commented Jul 30, 2023

The tutorial for UDS uses an example of retrieving VIN: https://www.csselectronics.com/pages/uds-protocol-tutorial-unified-diagnostic-services

but there's no associated DBC file or example for retrieving this. Since VIN is a more universal of a usecase compared to electric vehicles, it would be nice if a DBC file + associated example was provided for it: https://github.com/CSS-Electronics/api-examples/blob/master/examples/data-processing/process_tp_data.py#L33

@MatinF
Copy link
Contributor

MatinF commented Jul 31, 2023

Thanks Raleigh - it's a good idea to add a VIN example, but it's not something that's easily handled in the DBC file alone. It would require converting the decoded bytes to ASC characters as well, which the current DBC decoding logic would not be able to achieve - neither in our API or e.g. in asammdf. So I think this is perhaps more a matter of creating a script example that produces the VIN from raw data based on a logic.

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

No branches or pull requests

2 participants