Change data_ member of can_message_t object
authorRomain Forlot <romain.forlot@iot.bzh>
Wed, 1 Mar 2017 14:58:42 +0000 (15:58 +0100)
committerRomain Forlot <romain.forlot@iot.bzh>
Wed, 1 Mar 2017 14:58:42 +0000 (15:58 +0100)
commit834d1a950d38a821284955f2732cdbb5b05ebd2a
tree8ec03f8510c004e6bcc34a83f9f7bfaba96d5054
parent9aa1904f4b0cac0f3cb6ade68cd76954607aa5fe
Change data_ member of can_message_t object
to a vector of uint8_t instead of an array

This is more flexible to allocate dynamically
the vector depending if we process classic CAN
frame or CAN FD frame which are 64bytes long.

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