Support record version 13 (firmware 4.2)
This commit is contained in:
parent
ee24443b6a
commit
503bcee7b4
|
@ -50,7 +50,7 @@ public class DatalogSessionHealthSteps extends DatalogSessionPebbleHealth {
|
||||||
|
|
||||||
recordVersion = datalogMessage.getShort();
|
recordVersion = datalogMessage.getShort();
|
||||||
|
|
||||||
if ((recordVersion != 5) && (recordVersion != 6) && (recordVersion != 7) && (recordVersion != 12))
|
if ((recordVersion != 5) && (recordVersion != 6) && (recordVersion != 7) && (recordVersion != 12) && (recordVersion != 13))
|
||||||
return false; //we don't know how to deal with the data TODO: this is not ideal because we will get the same message again and again since we NACK it
|
return false; //we don't know how to deal with the data TODO: this is not ideal because we will get the same message again and again since we NACK it
|
||||||
|
|
||||||
timestamp = datalogMessage.getInt();
|
timestamp = datalogMessage.getInt();
|
||||||
|
@ -101,7 +101,7 @@ public class DatalogSessionHealthSteps extends DatalogSessionPebbleHealth {
|
||||||
}
|
}
|
||||||
|
|
||||||
private class StepsRecord {
|
private class StepsRecord {
|
||||||
byte[] knownVersions = {5, 6, 7, 12};
|
byte[] knownVersions = {5, 6, 7, 12, 13};
|
||||||
short version;
|
short version;
|
||||||
int timestamp;
|
int timestamp;
|
||||||
int steps;
|
int steps;
|
||||||
|
|
Loading…
Reference in New Issue