Page 1 of 1

Reading VIN

Posted: Wed Aug 23, 2017 5:21 am
by Polkpolk
I have received Freematics One + a month ago as a replacement for Freematics One that has never worked properly in my car.
My car is Seat Altea and uses the KWP2000 5Kbps protocol.
For example, I have not been able to read the entire VIN from the car. Neither from Freematics One nor FreematicsOne +.
This applies to all sketches.
Only the first letter of 17 is displayed.
Anyone who has a suggestion where to modify the code so I can read the entire VIN?

________________________________________________
ACC Bias:0.06/0.05/1.06
ACC:0.01 0.00 0.00 M:0
ACC:0.01 0.00 -0.00 M:1
ACC:-0.24 0.00 -0.09 M:648
Checking OBD..
Wakeup
GPS...NO
WIFI(SSID:FREEMATICS)...OK
IP...192.168.1.85
LOGIN...VIN:V
No reply
No reply
No reply

Re: Reading VIN

Posted: Thu Sep 07, 2017 12:10 am
by stanley
Open FreematicsONE.cpp, find getVIN function, change the line:

if (sendCommand("0902\r", buffer, bufsize))

to

if (sendCommand("0902\r", buffer, bufsize, 30000))

and this will increase the timeout value when reading VIN.

Re: Reading VIN

Posted: Sun May 12, 2019 2:57 am
by mcfreematics
I am also not able to read the VIN, I'm using a Toyota Corolla to test.

I increased the timeout in getVIN procedure, but it did not help. any hints ?

Is the VIN read working for you with Freematics One+? if YES can you please share the car make/model you're testing with ?