richClubb / python-uds

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

Implementation of Request Download method #31

Open beckyc567 opened 5 years ago

beckyc567 commented 5 years ago

Basic code has been written. The current test ODX file is only being parsed sufficiently to ensure that the service is present. Beyond that, the format of the message is fixed in the spec and processed accordingly. This may need to be changed if Richard would prefer it done differently, but it works for now.

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

The test cases for this need extending to ensure Transmit and Stop requests are handled correctly.

beckyc567 commented 5 years ago

Covering service 36 & 37 for Transmit (transfer) and Stop (exit) on their own branches. Work at this stage just tidying up.