View Single Post
Posts: 11 | Thanked: 13 times | Joined on Feb 2012
#136
Hi,

I have modified obd_io.py so that it decodes DTC codes. get_dtc function is modified to use decrypt_dtc_code. decrypt_dtc_code is modified so that it only takes one code as parameter and decrypts 5 digit DTC code from raw string. I also modified get_result function to suit better for my needs.
It seems that timing is very critical in get_response function. There is no timeout handling in pyobd in case there's no response from OBD module.
Here is the obd_io file, if someone wants to test.

// wictor

Last edited by wictor; 2012-08-30 at 05:35.
 

The Following 2 Users Say Thank You to wictor For This Useful Post: