Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

That way we can encode pressure with 2 decimal digits:

"key" : "pressure",
"value" : 12.34,
"index" : 1,
"code" : "007004",
"units" : "Pa",
"scale" : 2,
"reference" : 0,
"width" : 24

Note the difference with the original 007004 descriptor:

"key" : "pressure",
"value" : 10,
"index" : 1,
"code" : "007004",
"units" : "Pa",
"scale" : -1,
"reference" : 0,
"width" : 14

so we increased the width by 10 bits and changed the scale to 2.

...