can_bus: Add unit in the json that low-can emits 87/23387/3
authorArthur Guyader <arthur.guyader@iot.bzh>
Fri, 13 Dec 2019 13:44:42 +0000 (14:44 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 9 Jan 2020 15:25:36 +0000 (16:25 +0100)
commit74acfee2361a04f5ea389b31c4defecc30d8fc6b
tree1b4a8939aae56227043d929d0fffababb71fac01
parent23e350e7c5f193edd5944239f5a2e12af401c228
can_bus: Add unit in the json that low-can emits

This commit allow if the unit is defined to display it
in the json emmits by low-can.

Change-Id: Ia09d4d9614eba6de93292ffab351fa1f4e612b73
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/can/can-bus.cpp
low-can-binding/utils/openxc-utils.cpp
low-can-binding/utils/openxc-utils.hpp