Log when we get bogus timestamps #91

here
cpfeiffer 2015-10-03 23:42:22 +02:00
parent 38c3a41279
commit 321c0ff125
1 changed files with 1 additions and 0 deletions

View File

@ -96,6 +96,7 @@ public class FetchActivityOperation extends AbstractBTLEOperation<MiBandSupport>
// something is fishy here... better not trust the given timestamp and simply
// (re)use the current one
// we do accept the timestamp to ack though, so that the bogus data is properly cleared on the band
LOG.warn("Got bogus timestamp: " + timestamp.getTime() + " that is smaller than the previous timestamp: " + activityDataTimestampProgress.getTime());
}
}
activityDataTimestampToAck = (GregorianCalendar) timestamp.clone();