[Ovmsdev] ATT: car_chargekwh rescaled
dexter at expeedo.de
Sun Jul 31 19:03:50 HKT 2016
Changing the car_chargekwh scale from 1 kWh to 1/10 kWh was necessary to
make this info useful for small batteries.
Unfortunately the Java clients (Apps) while not even using this field
will break on replacing the integer value by a float, as the Java int
parser will throw an exception instead of parsing just the integer part.
So the value remains unscaled in the message to not break compatibility
with installed Apps. Clients evaluating the field need to scale the
Michael Balzer * Helkenberger Weg 9 * D-58256 Ennepetal
Fon 02333 / 833 5735 * Handy 0176 / 206 989 26
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 206 bytes
Desc: not available
More information about the OvmsDev