richClubb / python-uds

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

Implementation of ClearDiagnosticInformation method #39

Open beckyc567 opened 5 years ago

beckyc567 commented 5 years ago

Work in progress.

beckyc567 commented 5 years ago

Basic code has been written, and tested.

Testing includes the basic positive test cases to cover DTC clear, and positive testing of the negative response cases. Negative test cases (e.g. handling of an invalid negative response), has not been added yet (currently considered low priority).

Some small level of hardcoding exist to take the groupOfDTCs parameter as a simple 3 byte hex array - this can be changed to whatever is required if necessary.