1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-12-25 18:15:49 +01:00

Huami: decode some more sports summary values on Bip S (probably other new devices also)

This commit is contained in:
Andreas Shimokawa 2020-08-22 21:53:26 +02:00
parent 75806d2cfd
commit fcb1df6c68

View File

@ -126,11 +126,13 @@ public class HuamiActivitySummaryParser implements ActivitySummaryParser {
buffer.getLong(); buffer.getLong();
caloriesBurnt = buffer.getFloat(); caloriesBurnt = buffer.getFloat();
distanceMeters = buffer.getFloat(); distanceMeters = buffer.getFloat();
ascentMeters = buffer.getFloat();
descentMeters = buffer.getFloat();
maxAltitude = buffer.getFloat();
minAltitude = buffer.getFloat();
//unknown //unknown
buffer.getLong(); buffer.getLong();
buffer.getLong(); buffer.getLong();
buffer.getLong();
buffer.getLong();
maxPace = buffer.getFloat(); maxPace = buffer.getFloat();
minPace = buffer.getFloat(); minPace = buffer.getFloat();
//unknown //unknown