uds icon indicating copy to clipboard operation
uds copied to clipboard

Design UDS Message Stack API

Open mdabrowski1990 opened this issue 4 years ago • 0 comments

Requires

#82

Description

As a user, I would like to have API of container for UDS Messages, so I easily use this feature. As a developer, I would like to implement have UDS Messages Stack API design so it would support multi-threading (in performance efficient thread).

Example of similar implementation: https://can-isotp.readthedocs.io/en/latest/isotp/implementation.html#isotp.CanStack

Acceptance Criteria

  • API for UDS Message Stack (UdsMessagesStack ?)
    • all public methods and properties are annotated and described (docstrings are created)
    • no code included (except for raising NotImplementedError or similar)
  • UDS Message Stack design satisfies following restrictions:
    • it is possible to get the latest received/transmitted message
    • it is possible to distinguish received and transmitted message
    • it is possible to await until incoming/outcoming message arrives
    • support for multi-threading and asyncio

mdabrowski1990 avatar Sep 10 '21 06:09 mdabrowski1990