Reading VIN

Inquiry and support for Freematics products
Post Reply
Polkpolk
Posts: 10
Joined: Thu May 18, 2017 11:01 pm

Reading VIN

Post 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
stanley
Site Admin
Posts: 1018
Joined: Sat Mar 01, 2014 3:15 am

Re: Reading VIN

Post 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.
mcfreematics
Posts: 4
Joined: Fri Feb 22, 2019 1:14 pm

Re: Reading VIN

Post 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 ?
Post Reply