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

Sending Single Frame messages over CAN #275

Closed mdabrowski1990 closed 1 week ago

mdabrowski1990 commented 1 week ago

Description

Extend python-can Transport Interface with UDS messages sending (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 (50e273b) to head (db012bf). 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/275/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/275?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 #275 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 39 39 Lines 2384 2402 +18 ========================================= + Hits 2384 2402 +18 ``` | [Flag](https://app.codecov.io/gh/mdabrowski1990/uds/pull/275/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/275/flags?src=pr&el=flag&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski) | `87.59% <56.52%> (-0.33%)` | :arrow_down: | | [unit-tests](https://app.codecov.io/gh/mdabrowski1990/uds/pull/275/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/275?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 Δ | | |---|---|---| | [uds/segmentation/can\_segmenter.py](https://app.codecov.io/gh/mdabrowski1990/uds/pull/275?src=pr&el=tree&filepath=uds%2Fsegmentation%2Fcan_segmenter.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski#diff-dWRzL3NlZ21lbnRhdGlvbi9jYW5fc2VnbWVudGVyLnB5) | `100.00% <100.00%> (ø)` | | | [...ransport\_interface/abstract\_transport\_interface.py](https://app.codecov.io/gh/mdabrowski1990/uds/pull/275?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/275?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%> (ø)` | |