Commit 7753a541 authored by DoinLakeFlyer's avatar DoinLakeFlyer

parent 06acf3cd
...@@ -9,21 +9,21 @@ ...@@ -9,21 +9,21 @@
{ {
"name": "percentRemaining", "name": "percentRemaining",
"shortDescription": "Percent", "shortDescription": "Percent",
"type": "int32", "type": "double",
"decimalPlaces": 0, "decimalPlaces": 0,
"units": "%" "units": "%"
}, },
{ {
"name": "mahConsumed", "name": "mahConsumed",
"shortDescription": "Consumed", "shortDescription": "Consumed",
"type": "int32", "type": "double",
"decimalPlaces": 0, "decimalPlaces": 0,
"units": "mAh" "units": "mAh"
}, },
{ {
"name": "current", "name": "current",
"shortDescription": "Current", "shortDescription": "Current",
"type": "float", "type": "double",
"decimalPlaces": 2, "decimalPlaces": 2,
"units": "A" "units": "A"
}, },
...@@ -37,27 +37,29 @@ ...@@ -37,27 +37,29 @@
{ {
"name": "cellCount", "name": "cellCount",
"shortDescription": "Cell Count", "shortDescription": "Cell Count",
"type": "int32", "type": "double",
"decimalPlaces": 0,
"decimalPlaces": 0 "decimalPlaces": 0
}, },
{ {
"name": "instantPower", "name": "instantPower",
"shortDescription": "Watts", "shortDescription": "Watts",
"type": "float", "type": "double",
"decimalPlaces": 2, "decimalPlaces": 2,
"units": "W" "units": "W"
}, },
{ {
"name": "timeRemaining", "name": "timeRemaining",
"shortDescription": "Time Remaining", "shortDescription": "Time Remaining",
"type": "int32", "type": "double",
"decimalPlaces": 0,
"units": "s" "units": "s"
}, },
{ {
"name": "chargeState", "name": "chargeState",
"shortDescription": "Charge State", "shortDescription": "Charge State",
"type": "uint8", "type": "uint8",
"enumStrings": "Low Battery State Not Provided,Normal Operation,Low Battery State,Critical Battery State,Emergency Battery State,Battery Failed,Battery Unhealthy", "enumStrings": "N/A,Normal Operation,Low Battery State,Critical Battery State,Emergency Battery State,Battery Failed,Battery Unhealthy",
"enumValues": "0,1,2,3,4,5,6", "enumValues": "0,1,2,3,4,5,6",
"decimalPlaces": 0 "decimalPlaces": 0
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment