Closed GwnDaan closed 4 months ago
Failed conditions
E Reliability Rating on New Code (required ≥ A)
See analysis details on SonarCloud
Catch issues before they fail your Quality Gate with our IDE extension
SonarLint
Failed conditions
E Reliability Rating on New Code (required ≥ A)
Sorry Sonar, I disagree hahah. None of your issues seem like a problem to me
Describe your changes
Reworked the fast packet protocol implementation to align with the updated implementation of the (extended) transport protocol. They use the same base class now for the session, and the dependency on the CanLibProtocol is now completely removed. Also since the FastPacketProtocol class is now a more standalone module we should be able to test it more easily
How has this been tested?
I made sure the 3 examples (namely fast_packet_protocol, nmea2000_generator and nmea2000_parser) are still functioning correctly. And the unit-tests of the nmea2000 message interface are also still working fine, indicating that those messages utilizing the fast packet protocol are still correctly transferred.
Note: This library and its authors are not affiliated with the National Marine Electronics Association in any way.