A method for collecting vehicle data by using a smartcard and a smartcard control unit reading vehicle-related information from the smartcard and storing in the smartcard the data collected from control units and sensors inside a vehicle, comprising steps of:
- (a) transferring self diagnosis commands to the respective control units inside the vehicle and receiving responses to the self diagnosis commands;
- (b) determining whether the received responses are normal ones and, if not normal, storing in the smartcard control unit error codes received as the responses;
- (c) determining whether the smartcard is inserted and authenticating the inserted smartcard;
- (d) storing in the authenticated smartcard the error codes stored in the smartcard control unit;
- and
- (e) comparing the smartcard control unit data and the smartcard data and, if different, updating the data stored in the smartcard control unit and the smartcard.