usdot-fhwa-OPS / V2X-Hub

V2X Hub is a message handler that acts as a translator and data aggregator/disseminator for infrastructure components of a connected vehicle deployment.
Apache License 2.0
123 stars 69 forks source link

Arc 239 asn1 j2735 #651

Closed paulbourelly999 closed 2 weeks ago

paulbourelly999 commented 3 weeks ago

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:

sonarcloud[bot] commented 2 weeks ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
0.0% Coverage on New Code
6.2% Duplication on New Code

See analysis details on SonarQube Cloud