richClubb / python-uds

A uds library for python
MIT License
95 stars 54 forks source link

Implementation of the Tester Present service #27

Open richClubb opened 5 years ago

richClubb commented 5 years ago

Implementation of the tester present service and creation of container and methodFactory classes

This might be tricky as this may require some changes to the Uds communications component as this might need some kind of thread and semaphore to work correctly.

beckyc567 commented 5 years ago

A solution has now been implemented on the tstpresnt_extension branch - subject to review with Richard prior to any merge back to the master branch. The code has been tested as well as it can be at unit test level.

The implementation includes:

beckyc567 commented 5 years ago

Regression tested via unit tests for all other services, and aside from a few minor fixes required (ECU reset and transExit), all was good - merged the tester present code back down to the master branch, as it doesn't affect anything else if not activated.

antoniomolram commented 2 years ago

Hi! I see that is an old topic, and I cannot find the branch tstpresnt_extension. I am trying to do something similar on application level, but I am getting some routine issues because the tester_present() message jump in to the middle of my routine response. Do you have it correctly integrated?

Thank you for your great project!