V2X Hub is a message handler that acts as a translator and data aggregator/disseminator for infrastructure components of a connected vehicle deployment.
First reverted back to the ASN1 generated scripts. After doing so, names of enums in the IVPJ2735.h and .c needed to be changed due to name conflicts with the macros defined in the generated structs. A few pointers needed to be fixed in the J2735MessageTest file as well as more naming issues in the Csw and Tim Plugins.
Currently V2X Hub has manual changes to the ASN1C Compiler generator code that make it incompatible with our carma-j2735-asn package. This story is to capture efforts of undoing those manual changes both in the generated code and in the logic we use to populate/read from generated C Structs.
How Has This Been Tested?
To test these changes, a full successful build needed to be completed without any errors being thrown. Currently, the updated V2X Hub is able to successfully build, but there are some unit tests that need to be fixed.
Types of changes
[x] Defect fix (non-breaking change that fixes an issue)
[ ] New feature (non-breaking change that adds functionality)
[ ] Breaking change (fix or feature that cause existing functionality to change)
Checklist:
[ ] I have added any new packages to the sonar-scanner.properties file
[ ] My change requires a change to the documentation.
PR Details
Description
First reverted back to the ASN1 generated scripts. After doing so, names of enums in the IVPJ2735.h and .c needed to be changed due to name conflicts with the macros defined in the generated structs. A few pointers needed to be fixed in the J2735MessageTest file as well as more naming issues in the Csw and Tim Plugins.
Related Issue
https://usdot-carma.atlassian.net/browse/ARC-239
Motivation and Context
Currently V2X Hub has manual changes to the ASN1C Compiler generator code that make it incompatible with our carma-j2735-asn package. This story is to capture efforts of undoing those manual changes both in the generated code and in the logic we use to populate/read from generated C Structs.
How Has This Been Tested?
To test these changes, a full successful build needed to be completed without any errors being thrown. Currently, the updated V2X Hub is able to successfully build, but there are some unit tests that need to be fixed.
Types of changes
Checklist: