For schema parsing, protobuf parses "NaN" as float but not "NAN." Test: Flash and check sensor values. Bug: 127794899 Change-Id: I01549ecdabf4fe6af1cff685b97f8f18b0dd3003
19 lines
375 B
JSON
19 lines
375 B
JSON
{
|
|
"Sensors":[
|
|
{
|
|
"Name":"battery",
|
|
"Type":"BATTERY",
|
|
"HotThreshold":[
|
|
"NaN",
|
|
"NaN",
|
|
"NaN",
|
|
"NaN",
|
|
"NaN",
|
|
"NaN",
|
|
"60.0"
|
|
],
|
|
"VrThreshold":"NaN",
|
|
"Multiplier":0.001
|
|
}
|
|
]
|
|
}
|