View Single Post
Old 07-29-2013, 10:06 AM   #824 (permalink)
toc
EcoModding Apprentice
 
Join Date: Jan 2011
Location: Australia
Posts: 179

Sonata97 - '97 Hyundai Sonata GL
90 day: 25.96 mpg (US)

Pulsar - '03 Nissan Pulsar ST
Team Nissan
90 day: 36.09 mpg (US)

Lancer - '04 Mitsubishi Lancer
90 day: 31.11 mpg (US)

Lancer 2.0 - '09 Mitsubishi Lancer
90 day: 27.1 mpg (US)
Thanks: 9
Thanked 16 Times in 13 Posts
I glanced over the more important bits of your post.
What I had in mind was KWP2000 protocol, very similar to ISO9141, but different responses and commands resulting in similar issues.

The ~b is the 'invert' of the byte. Not the actual sent string .

Cars that are ODBII in the US after 1996 aren't everywhere else (I note your location).

0x55 is the init sync byte, could it be that you are reading it and getting the same value twice?
When I was debugging another protocol, I set about doing it in a request reply manner and used the 'duino with my custom program in it to do the init and go so far as the init (writing out to SoftwareSerial every step of the way so I knew I wasn't reading the previous value of 'b" for example).
__________________
  Reply With Quote