diff options
author | Arthur Guyader <arthur.guyader@iot.bzh> | 2019-08-27 15:40:55 +0200 |
---|---|---|
committer | Arthur Guyader <arthur.guyader@iot.bzh> | 2019-08-30 15:41:22 +0200 |
commit | 491c4d4d0bc418c1fbc6e3a1af8093e4049d8b87 (patch) | |
tree | 0e3ce68915a5c6a8104d888249afbce6e6d7b0e6 /low-can-binding/utils/openxc-utils.hpp | |
parent | 96232f8f7cf8b93f1a3ef3ed9a4816c575cefe87 (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
Change-Id: I27180774f044c48a9d7baa2739b15a2e85b8b2e2
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Diffstat (limited to 'low-can-binding/utils/openxc-utils.hpp')
-rw-r--r-- | low-can-binding/utils/openxc-utils.hpp | 1 |
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); |