Add function to convert vector to canfd or can frame. 96/23096/1
authorRomain Forlot <romain.forlot@iot.bzh>
Tue, 26 Nov 2019 15:19:11 +0000 (16:19 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Thu, 28 Nov 2019 15:11:47 +0000 (16:11 +0100)
commitaeeb786722b5cdeabff5568b40f7075dc23140b9
tree95ae1bf9efcfdad6fa94247cc9c310465257742d
parentdfc20c88b083f06aad5048f2facf4cbde1ea3de4
Add function to convert vector to canfd or can frame.

This commit allows to convert the data vector to canfd or
can frame. In the two cases the struct is a canfd frame,
but if the type is not fd, the max size of a frame is 8.

Bug-AGL : SPEC-2779
Bug-AGL: SPEC-2976

Change-Id: I60edf6a602a47572d5e5bfb508c7ca6d8761832b
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
low-can-binding/can/message/can-message.cpp
low-can-binding/can/message/can-message.hpp