From e08e9bc89e78b3937f84a8dbf47968159521a7ea Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Wed, 13 Sep 2017 11:14:01 +0200 Subject: Add timestamp val to returned json object on event Change-Id: Ibfb514eb27c0378dba7e302755e5f6f95b0ca242 Signed-off-by: Romain Forlot --- low-can-binding/utils/openxc-utils.hpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (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 83d63797..57663045 100644 --- a/low-can-binding/utils/openxc-utils.hpp +++ b/low-can-binding/utils/openxc-utils.hpp @@ -44,4 +44,6 @@ const openxc_SimpleMessage get_simple_message(const openxc_VehicleMessage& v_msg void jsonify_DynamicField(const openxc_DynamicField& field, json_object* value); -bool jsonify_simple(const openxc_SimpleMessage& s_msg, json_object* json); \ No newline at end of file +bool jsonify_simple(const openxc_SimpleMessage& s_msg, json_object* json); + +bool jsonify_vehicle(const openxc_VehicleMessage& v_msg, json_object* json); -- cgit 1.2.3-korg