leducp / KickCAT

A C++ open source EtherCAT master stack
Other
59 stars 13 forks source link

Rework mailbox data access. #91

Closed leducp closed 1 year ago

leducp commented 1 year ago

Related to #90

Current SDO header integrate the CoE header, which is common between all CoE mailbox services (SDO, SDO information and emergency).

This PR reorganize the headers to isolate the layers properly and add a helper to point a data in a frame.

github-actions[bot] commented 1 year ago

File Coverage Lines Branches
All files 89% 92% 86% :white_check_mark:
include/kickcat/Bus.h 63% 100% 27% :x:
include/kickcat/DebugHelpers.h 83% 100% 66% :white_check_mark:
include/kickcat/Gateway.h 75% 100% 50% :white_check_mark:
include/kickcat/Link.h 92% 85% 100% :white_check_mark:
include/kickcat/Mailbox.h 92% 100% 85% :white_check_mark:
include/kickcat/protocol.h 90% 90% 0% :white_check_mark:
src/Bus.cc 91% 92% 90% :white_check_mark:
src/CoE.cc 84% 95% 74% :white_check_mark:
src/Link.cc 96% 99% 94% :white_check_mark:
src/Mailbox.cc 85% 88% 81% :white_check_mark:
src/Prints.cc 93% 93% 93% :white_check_mark:
src/Slave.cc 78% 76% 80% :white_check_mark:
src/Time.cc 40% 40% 0% :x:
src/protocol.cc 84% 90% 78% :white_check_mark:

Minimum allowed coverage is 75%

Generated by :monkey: cobertura-action against 6fad660aeb59f9173fcf23920d587f513f5a395b