usdot-fhwa-stol / cdasim

CDASim is an open-source simulation system supporting the development and testing of Cooperative Driving Automation applications.
38 stars 13 forks source link

Add logic to find start of AMF message #131

Closed kjrush closed 1 year ago

kjrush commented 1 year ago

PR Details

Description

Added logic to skip over any junk bytes at the start of the UDP packet to only process it from where the AMF message actually starts.

How Has This Been Tested?

New unit test added to evaluate logic and passes

Types of changes

Checklist:

sonarcloud[bot] commented 1 year ago

SonarCloud Quality Gate failed.    Quality Gate failed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell C 9 Code Smells

20.0% 20.0% Coverage
0.0% 0.0% Duplication