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

Strip unwanted headers from Ieee1609Dot2 data frames #24

Closed
wants to merge 2 commits into from

Conversation

dmccoystephenson
Copy link
Member

Problem

The SCMS files for this project were recently updated and headers started being added to messages during the encoding process for ASD payloads, even with unsigned TIMs. This causes problems when OBUs attempt to process the message.

Solution

Any hex before '001F' that is found in an encoded Ieee1609Dot2 data frame is now stripped.

Testing

  • The unit tests have been verified to pass with these changes.
  • This was tested locally using docker compose. ASD payloads, when decoded, were found to no longer include the header.
  • This has been deployed to CDOT's dev environment. Deposits made to the SDX, when retrieved via the GetDataByRecordId endpoint, were found to no longer include the header.
  • It should be noted that this has only been tested with signing disabled. We may want to perform further testing in an environment with signing enabled.

@dmccoystephenson dmccoystephenson deleted the 1609dot2/strip-unwanted-header branch May 24, 2024 17:06
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.

1 participant