mdabrowski1990 / uds

Python package for communication via UDS (Unified Diagnostic Services) protocol. The package supports typical buses (i.e. CAN, Ethernet, LIN, FlexRay, K-Line) with possible extensions to any bus.
https://uds.readthedocs.io/
MIT License
78 stars 10 forks source link

Receiving UDS Messages (Single Frame) over CAN #276

Closed mdabrowski1990 closed 5 days ago

mdabrowski1990 commented 1 week ago

Description

Extend python-can Transport Interface with UDS messages receiving (only Single Frame supported).

How Has This Been Tested?

Process

I know the process and did my best to follow it

codecov[bot] commented 1 week ago

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 100.00%. Comparing base (1b4acdb) to head (4b80b00). Report is 1 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/mdabrowski1990/uds/pull/276/graphs/tree.svg?width=650&height=150&src=pr&token=IL7RYZ5ERC&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski)](https://app.codecov.io/gh/mdabrowski1990/uds/pull/276?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) ```diff @@ Coverage Diff @@ ## main #276 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 39 39 Lines 2402 2426 +24 ========================================= + Hits 2402 2426 +24 ``` | [Flag](https://app.codecov.io/gh/mdabrowski1990/uds/pull/276/flags?src=pr&el=flags&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | Coverage Δ | | |---|---|---| | [integration-tests](https://app.codecov.io/gh/mdabrowski1990/uds/pull/276/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | `86.97% <21.42%> (-0.62%)` | :arrow_down: | | [unit-tests](https://app.codecov.io/gh/mdabrowski1990/uds/pull/276/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | `100.00% <100.00%> (ø)` | | Flags with carried forward coverage won't be shown. [Click here](https://docs.codecov.io/docs/carryforward-flags?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski#carryforward-flags-in-the-pull-request-comment) to find out more. | [Files with missing lines](https://app.codecov.io/gh/mdabrowski1990/uds/pull/276?dropdown=coverage&src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | Coverage Δ | | |---|---|---| | [...ransport\_interface/abstract\_transport\_interface.py](https://app.codecov.io/gh/mdabrowski1990/uds/pull/276?src=pr&el=tree&filepath=uds%2Ftransport_interface%2Fabstract_transport_interface.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski#diff-dWRzL3RyYW5zcG9ydF9pbnRlcmZhY2UvYWJzdHJhY3RfdHJhbnNwb3J0X2ludGVyZmFjZS5weQ==) | `100.00% <100.00%> (ø)` | | | [uds/transport\_interface/can\_transport\_interface.py](https://app.codecov.io/gh/mdabrowski1990/uds/pull/276?src=pr&el=tree&filepath=uds%2Ftransport_interface%2Fcan_transport_interface.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski#diff-dWRzL3RyYW5zcG9ydF9pbnRlcmZhY2UvY2FuX3RyYW5zcG9ydF9pbnRlcmZhY2UucHk=) | `100.00% <100.00%> (ø)` | |