Add function to convert vector to canfd or can frame. 44/22244/2
authorArthur Guyader <arthur.guyader@iot.bzh>
Mon, 26 Aug 2019 13:32:20 +0000 (15:32 +0200)
committerArthur Guyader <arthur.guyader@iot.bzh>
Thu, 29 Aug 2019 16:03:33 +0000 (18:03 +0200)
commitf5997f7364a0ecead4b20af974b23eee4350b01b
tree5b2546028ed7242e6461282f4b3f1ed4754aea77
parent4216b5e6af9979e1f49175be8db9e0578ff9cbf5
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

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