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

Scripts that load the current values from isobus.net #45

Open
JannesBrands opened this issue Feb 7, 2024 · 2 comments
Open

Scripts that load the current values from isobus.net #45

JannesBrands opened this issue Feb 7, 2024 · 2 comments

Comments

@JannesBrands
Copy link
Member

Today I had the idea of a script that automatically loads all current values (Manufacturer Codes, PGNs, DDIs, Device Class / Functions) from isobus.net during the build (within the build.rs) and thus always provides this information completely and up-to-date by generating the respective enums from a code generator. I know that this is a lot of work that is certainly not relevant at the moment, but I wanted to keep this idea for a later date.

@ad3154
Copy link
Member

ad3154 commented Feb 8, 2024

The C++ stack already does this for DDI's at least, so maybe it can be inspiration: https://github.com/Open-Agriculture/AgIsoStack-plus-plus/blob/main/scripts/code_gen_ddi_database.py

@JannesBrands
Copy link
Member Author

Oh that's neat, I hadn't even seen it yet. But I think I have to go a different way except for the DDIs, as there are apparently only files for the DDIs.

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