From e28ae5f481c3a0d78bb7d6c21416dc38be541a4d Mon Sep 17 00:00:00 2001 From: Arthur Guyader Date: Mon, 16 Dec 2019 16:54:07 +0100 Subject: openxc-utils : Add json value for DynamicField Change-Id: I93d31768804d4e30994897487e9fd312a56c547b Signed-off-by: Arthur Guyader Signed-off-by: Romain Forlot --- low-can-binding/utils/openxc-utils.hpp | 1 + 1 file changed, 1 insertion(+) (limited to 'low-can-binding/utils/openxc-utils.hpp') diff --git a/low-can-binding/utils/openxc-utils.hpp b/low-can-binding/utils/openxc-utils.hpp index 675dc2f1..cf04d220 100644 --- a/low-can-binding/utils/openxc-utils.hpp +++ b/low-can-binding/utils/openxc-utils.hpp @@ -39,6 +39,7 @@ const openxc_DynamicField build_DynamicField(const std::string& value); const openxc_DynamicField build_DynamicField(double value); const openxc_DynamicField build_DynamicField(bool value); const openxc_DynamicField build_DynamicField(std::vector &array); +const openxc_DynamicField build_DynamicField_json(json_object *value); int get_bool_from_DynamicField(const openxc_VehicleMessage& v_msg, bool& ret); double get_numerical_from_DynamicField(const openxc_VehicleMessage& v_msg); -- cgit 1.2.3-korg