View Single Post
Posts: 11 | Thanked: 13 times | Joined on Feb 2012
#140
Originally Posted by Crogge View Post
I tried the latest version with my Mercedes W203 today and had sadly only partial success. Other OBD applications (Android) work generally without problems. I'm using a normal ELM327 adapter.

Log (Trace):


Any idea why nothing happens after "Send command:atz"?
Pyobd seems to be quite picky about delays between command and reply. One thing that you could try is to modify delay after atz command.

If you know how to edit pyobd python files, you can try to increase delay after sending "atz" command in /home/opt/pyobd/obd_io.py.
You can try different values in time.sleep() to see if that helps.
Code:
while 1: #until error is returned try to connect
  try:
    self.send_command("atz")   # initialize
    time.sleep(0.2) # try here 0.5 for example
wictor

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

The Following User Says Thank You to wictor For This Useful Post: