richClubb / python-uds

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

Implementation of Write Data By Identifier service #28

Open richClubb opened 6 years ago

richClubb commented 6 years ago

Implementation of the write data by identifier service and its container and method factory classes

beckyc567 commented 5 years ago

Basic code has been written, but the encoding rules need significant extension to cater for all possible input types covered by the standards. Currently running the basic test positive test cases to covering the initial basic encodings (ascii, int16 and a couple of others covered by the initial coding functions). Note: re-merged with master after the RDBI changes were merged down, so currently in synch with master.

beckyc567 commented 5 years ago

Additional test cases have been added to cover positive testing of the negative response cases - this required a minor fix. Negative test cases (e.g. handling of an invalid negative response), has not been added yet (currently considered low priority).