kotlin-obd-api icon indicating copy to clipboard operation
kotlin-obd-api copied to clipboard

NonNumericResponseException while executing command [VIN], response []

Open RobertSzekely opened this issue 3 years ago • 2 comments

I get the same exception if I run the Speed or the EngineRpm commands. Do you have any idea what's causing this issue? I'm using version 1.1.1 of the library

Screenshot 2021-10-12 at 17 01 42

RobertSzekely avatar Oct 12 '21 14:10 RobertSzekely

Hi Elton,

I ran into the same issue as I tried to fire the VIN Command. What I fonud out so far, is that the response is empty. I added a delay time up to 500 ms and I got an answer form the OBD device I used. The problem now is, that the answer is not correct. It is just some cryptic chars. While I debugged your library (master branch) the correct VIN of my car was displayed only once in many attempts.

Another Thing I found out is, that when I fire the command several times in a row, the answer was changed. Maybe it's a buffering problem or something like that. The raw response seams to change if you use the command several times. Don't know if its a problem with my obd device. Other apps work properly with that one.

Do you have any idea how to fix that? I will try to paste some code, when I have time for that. (added this comment also to the other issue, seams to be the same problem)

Would love to hear from you

sai3ot

sai3ot-priv avatar Oct 22 '21 08:10 sai3ot-priv

Hey!

Version 1.2.0 was just released and it should fix this issue.

eltonvs avatar Jul 11 '22 13:07 eltonvs