Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce basic Transport Interface for python-can #22

Closed
mdabrowski1990 opened this issue Feb 11, 2021 · 0 comments · Fixed by #229
Closed

Introduce basic Transport Interface for python-can #22

mdabrowski1990 opened this issue Feb 11, 2021 · 0 comments · Fixed by #229
Assignees
Labels
CAN Related to CAN specific implementation implementation Changes to code

Comments

@mdabrowski1990
Copy link
Owner

mdabrowski1990 commented Feb 11, 2021

Requires

#73
#144

Description

As a user, I would like to have possibility to schedule CAN Packet transmission at provided time, so I can control how packets are transmitted.
As a user, I would like to have container that automatically detect received CAN packets and store them, so I have access to entire UDS communication.
As a user, I would like to have possibility to use python-can library, so I do not have to buy any expensive tools.

Testing Strategy

Integration Tests:

  • receiving packets is possible (mock the incoming traffic)
  • transmitting packets is possible (mock the transmission monitoring)

System Tests:

  • GIVEN configured Transport Interface with python-can, WHEN I schedule CAN Packet transmission, THEN it is transmitted to the bus at the first timeslot after the scheduled time is reached, and record of transmitted packet is stored with proper timestamp.
  • GIVEN configured Transport Interface with python-can, WHEN UDS CAN packet is received, THEN record of the received packet is stored with proper timestamp.
  • GIVEN configured Transprort Interface with python-can, WHEN CAN frame that is not UDS Packet is received, THEN it is not stored by the Transport Interface.
  • GIVEN configured Transport Interface with python-can, WHEN python-can bus is used to transmit other frames, THEN it is not blocked by this package.
  • GIVEN configured Transport Interface with python-can, WHEN python-can bus is used to receive frames, THEN it is not blocked by this package, neither the package is malfunctioning.

Acceptance Criteria

  • described features are provided
  • Provided features are document in user documentation
  • 100% code coverage for this change
  • system tests are executed and passing (preferably automatic, but it can be manual if impossible to automate).
@mdabrowski1990 mdabrowski1990 added the implementation Changes to code label Feb 11, 2021
@mdabrowski1990 mdabrowski1990 added this to the CAN support milestone Feb 11, 2021
@mdabrowski1990 mdabrowski1990 changed the title Introduce Transport Protocol Interface for CAN [CAN] Introduce Transport Protocol Interface for CAN Feb 12, 2021
@mdabrowski1990 mdabrowski1990 changed the title [CAN] Introduce Transport Protocol Interface for CAN Introduce Transport Protocol Interface for CAN Feb 12, 2021
@mdabrowski1990 mdabrowski1990 added the CAN Related to CAN specific implementation label Feb 12, 2021
@mdabrowski1990 mdabrowski1990 changed the title Introduce Transport Protocol Interface for CAN [refine] Introduce limited Transport Interface for CAN Sep 7, 2021
@mdabrowski1990 mdabrowski1990 changed the title [refine] Introduce limited Transport Interface for CAN Introduce limited Transport Interface for CAN Sep 7, 2021
@mdabrowski1990 mdabrowski1990 added the documentation Improvements or additions to documentation label Sep 7, 2021
@mdabrowski1990 mdabrowski1990 changed the title Introduce limited Transport Interface for CAN Introduce basic Transport Interface for python-can Sep 7, 2021
@mdabrowski1990 mdabrowski1990 changed the title Introduce basic Transport Interface for python-can [refine] Introduce basic Transport Interface for python-can Sep 7, 2021
@mdabrowski1990 mdabrowski1990 removed the documentation Improvements or additions to documentation label Dec 6, 2021
@mdabrowski1990 mdabrowski1990 changed the title [refine] Introduce basic Transport Interface for python-can Introduce basic Transport Interface for python-can Dec 7, 2021
@mdabrowski1990 mdabrowski1990 changed the title Introduce basic Transport Interface for python-can [refine] Introduce basic Transport Interface for python-can Dec 7, 2021
@mdabrowski1990 mdabrowski1990 changed the title [refine] Introduce basic Transport Interface for python-can Introduce basic Transport Interface for python-can Dec 8, 2021
@mdabrowski1990 mdabrowski1990 self-assigned this Feb 5, 2022
@mdabrowski1990 mdabrowski1990 linked a pull request Oct 19, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CAN Related to CAN specific implementation implementation Changes to code
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant