richClubb / python-uds

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

Implementation of ECU Reset method #30

Open beckyc567 opened 6 years ago

beckyc567 commented 6 years ago

Implementation of the ECU reset service and its container and method factory classes.

beckyc567 commented 6 years ago

Basic code has been written. The current test ODX file lacks any reset specified other than hard reset, so the testing has currently been limited to that - this should be fine for all other reset types other than enableRapidPowerShutDown - this latter type has an extra parameter return (powerDownTime), which has currently not been tested.

Currently includes the basic positive test cases to cover hard reset with or without response suppression, 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).

beckyc567 commented 5 years ago

Requires a fix for enablePowerShutDown handling - doing this next.

beckyc567 commented 5 years ago

Fix made.

shandyka commented 2 years ago

help