richClubb / python-uds

A uds library for python
MIT License
99 stars 55 forks source link

Implementation of Session Control service #26

Open richClubb opened 6 years ago

richClubb commented 6 years ago

Task to implement the Session Control service, container and method factory classes

beckyc567 commented 6 years ago

Commencing DiagnosticSessionControl service (0x10).

beckyc567 commented 5 years ago

Basic code has been written. The current test ODX file covers default session, programming session and extended diagnostic session, so the testing has currently been limited to those - this should be fine for all other session types anyway (these three are certainly the same, as the parameters are link dependent anyway).

Currently includes the basic positive test cases to cover default session with or without response suppression, and positive testing of the negative response cases. Other session types have been tested with response present. Negative test cases (e.g. handling of an invalid negative response), has not been added yet (currently considered low priority).

beckyc567 commented 5 years ago

Changes have been merged down to the master branch.