summaryrefslogtreecommitdiffstats
path: root/low-can-binding/utils/openxc-utils.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2019-11-26 16:19:53 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2019-11-28 16:11:48 +0100
commit46a6d2ed70bf66ad8255513191d2bb7b26cd32bb (patch)
tree007195a0717c4b59ed6f695ef1954f519f484fb4 /low-can-binding/utils/openxc-utils.hpp
parent1fa52a04542ed648b5a2a15b2f3d252f33202a33 (diff)
Add new decoders bytes for signal of long size
This commit adds the decoder bytes. It allows to return a sequence of bytes in hexadecimal form. Bug-AGL : SPEC-2780 Bug-AGL: SPEC-2976 Change-Id: I27180774f044c48a9d7baa2739b15a2e85b8b2e2 Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh> Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/utils/openxc-utils.hpp')
-rw-r--r--low-can-binding/utils/openxc-utils.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/low-can-binding/utils/openxc-utils.hpp b/low-can-binding/utils/openxc-utils.hpp
index a84bc350..61f365b0 100644
--- a/low-can-binding/utils/openxc-utils.hpp
+++ b/low-can-binding/utils/openxc-utils.hpp
@@ -37,6 +37,7 @@ const openxc_DynamicField build_DynamicField(const char* value);
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<uint8_t> &array);
int get_bool_from_DynamicField(const openxc_VehicleMessage& v_msg, bool& ret);
double get_numerical_from_DynamicField(const openxc_VehicleMessage& v_msg);