fgorina / 9BMetrics

An EUC management and telemetry application

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

KingSong/Gotway total distance

ILYA2606 opened this issue · comments

commented

On KS/Gotway wrong calculating total distance.
130 real km = 376045570.0 in app.
let totalDistance = Double( (Int(buffer[6]) * 256 + Int(buffer[7]))*65536 + (Int(buffer[8]) * 256 + Int(buffer[9])))

Tests:
On my tests KS14 rides 137km (by official app metrics).
Value of buffer:
buffer[6] = 2
buffer[7] = 0
buffer[8] = 106
buffer[9] = 22

Gotway MSuper V3 rides 8.4km
Value of buffer:
buffer[6] = 64
buffer[7] = 0
buffer[8] = 28
buffer[9] = 32

commented

I have last commit from multiwheel branch.
In Appstore_3.0 this problem has been fixed. Thanks!