Be able to write raw frame & encode value to sent
authorRomain Forlot <romain.forlot@iot.bzh>
Thu, 13 Jul 2017 16:51:20 +0000 (18:51 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Fri, 21 Jul 2017 10:02:11 +0000 (12:02 +0200)
commit2408a177e8260dcda266df9993e6acd528bebbbc
tree32fbc74e96659d701496a3687ef9c0496dd4fd07
parent0dc8b87f5d8a03183c1b947640f6315545e4207b
Be able to write raw frame & encode value to sent

Check whether the argument is a raw frame or a Signal + Value
to encode then send.
1 new class to handle encoding part of a value as well as
a new method for can_signal_t which return index of a map from
its value.

Change-Id: I288d2aeec28ce74c9ca35750db18557c9251e1df
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/CMakeLists.txt
low-can-binding/binding/low-can-cb.cpp
low-can-binding/can/can-encoder.cpp [new file with mode: 0644]
low-can-binding/can/can-encoder.hpp [new file with mode: 0644]
low-can-binding/can/can-signals.cpp
low-can-binding/can/can-signals.hpp