OBD Port - How to read response

Joined
Sep 21, 2020
Messages
14
Programming Experience
10+
Hi guys
I am trying to read from an OBD port and have a problem reading the response. The responses I get seem to be out of sequence, not what I am expecting or just wrong.

I am using a SerialPort to send the commands, and using the DataRecieved event to retrieve the response. The sequence of commands I am using work fine in Putty.

What happens is sometimes I get the response I expect, but other times I just get 'OK' or even 'ELM327 v1.3a OBDGPSLogger'. I have also noticed that when I call the same PID a few times I get different responses.

E.g.:
>010D
OK
>010D
ELM327 v1.3a OBDGPSLogger
010D
410D43
>010D
OK

Any thoughts about what is going on?

Thanks
 
Back
Top Bottom