New way to return canfd_frame with now number of read bytes.
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 1 Mar 2017 16:42:52 +0000 (17:42 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Wed, 1 Mar 2017 16:42:52 +0000 (17:42 +0100)
commit937fe8e40aba5eb37c69fd5ff6bf4d800541a009
treecd7b1d7919aacba6861ab63e98ed924531b00002
parent4f06114c79f804ed404d40ffad771cbacab0fe8b
New way to return canfd_frame with now number of read bytes.
This way, we can detect correctly the max data length and
set the data correctly.

Change-Id: I346df154df76dbd4a463d1fabfd9edd56faca506
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
src/can-bus.cpp
src/can-bus.hpp
src/can-message.cpp
src/can-message.hpp