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

Configuration of Flow Control packets generation #273

Closed mdabrowski1990 closed 1 month ago

mdabrowski1990 commented 1 month ago

Description

Add generator of Flow Control parameters that would be used to generate Flow Control packets during message reception.

How Has This Been Tested?

Process

I know the process and did my best to follow it

codecov[bot] commented 1 month ago

Codecov Report

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

Project coverage is 100.00%. Comparing base (15ab1d5) to head (e11ffb8). Report is 8 commits behind head on main.

Additional details and impacted files [![Impacted file tree graph](https://app.codecov.io/gh/mdabrowski1990/uds/pull/273/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/273?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 #273 +/- ## ========================================= Coverage 100.00% 100.00% ========================================= Files 39 39 Lines 2346 2384 +38 ========================================= + Hits 2346 2384 +38 ``` | [Flag](https://app.codecov.io/gh/mdabrowski1990/uds/pull/273/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/273/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.91% <86.04%> (-0.07%)` | :arrow_down: | | [unit-tests](https://app.codecov.io/gh/mdabrowski1990/uds/pull/273/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](https://app.codecov.io/gh/mdabrowski1990/uds/pull/273?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/can/\_\_init\_\_.py](https://app.codecov.io/gh/mdabrowski1990/uds/pull/273?src=pr&el=tree&filepath=uds%2Fcan%2F__init__.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski#diff-dWRzL2Nhbi9fX2luaXRfXy5weQ==) | `100.00% <100.00%> (ø)` | | | [uds/can/flow\_control.py](https://app.codecov.io/gh/mdabrowski1990/uds/pull/273?src=pr&el=tree&filepath=uds%2Fcan%2Fflow_control.py&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski#diff-dWRzL2Nhbi9mbG93X2NvbnRyb2wucHk=) | `100.00% <100.00%> (ø)` | | | [uds/transport\_interface/can\_transport\_interface.py](https://app.codecov.io/gh/mdabrowski1990/uds/pull/273?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%> (ø)` | | ... and [1 file with indirect coverage changes](https://app.codecov.io/gh/mdabrowski1990/uds/pull/273/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=Maciej+D%C4%85browski)