Date and Time of data logging
Posted: Tue Apr 11, 2017 10:44 pm
Hello,
I am trying to collect OBD data over a long period with my car. The date and time is always set to default in the recorded data. It is currently using millis() to obtain the date.
char buf[255];
byte n = getGPSRawData(buf, sizeof(buf));
state |= STATE_GPS_READY;
if (n) {
dataTime = millis();
logData(buf + 4, n - 6);
What can be done to fix this?
Thanks,
Vasanthi
I am trying to collect OBD data over a long period with my car. The date and time is always set to default in the recorded data. It is currently using millis() to obtain the date.
char buf[255];
byte n = getGPSRawData(buf, sizeof(buf));
state |= STATE_GPS_READY;
if (n) {
dataTime = millis();
logData(buf + 4, n - 6);
What can be done to fix this?
Thanks,
Vasanthi