Skip to content

Fixes to generated J2735 from asn1c updates#47

Merged
drewjj merged 24 commits intodevelopfrom
fix/asn1c-ext-size-compound-names
Jul 23, 2025
Merged

Fixes to generated J2735 from asn1c updates#47
drewjj merged 24 commits intodevelopfrom
fix/asn1c-ext-size-compound-names

Conversation

@iyourshaw
Copy link
Copy Markdown

@iyourshaw iyourshaw commented Jun 30, 2025

Fixes several issues to allow generating the J2735/2024 and 2020 C code directly from the ASN.1 files downloaded from SAE with no edits to the ASN.1, and no overrides to the generated C code.

Uses the asn1c compiler from the current develop branch of the usdot repo as of 6/30/2025:
https://github.com/usdot-fhwa-stol/usdot-asn1c/tree/develop
to regenerate the 2024 and 2020 specifications.

Addresses the following issues:

@iyourshaw iyourshaw marked this pull request as ready for review June 30, 2025 23:47
Copy link
Copy Markdown

@John-Wiens John-Wiens left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good to me. I will need to pull in some of these changes into the CV-MEC ASN.1 build system to match as well. However, I don't anticipate this directly breaking anything in that application since they are fairly disconnected from one another.

Copy link
Copy Markdown

@dmccoystephenson dmccoystephenson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good! Unit tests pass, program starts up correctly and encoding/decoding works!

Notes:

  • I did not test re-generating the files.
  • I decoded a couple BSMs.
  • I encoded a TIM.

Copy link
Copy Markdown
Collaborator

@drewjj drewjj left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great!

@drewjj drewjj merged commit 4bffe44 into develop Jul 23, 2025
4 checks passed
@drewjj drewjj deleted the fix/asn1c-ext-size-compound-names branch November 5, 2025 17:00
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.

6 participants