summaryrefslogtreecommitdiffstats
path: root/src/can-message.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-03-01New way to return canfd_frame with now number of read bytes.Romain Forlot1-18/+17
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>
2017-03-01Fix: miss 'if' brackets to get incomplete CAN frames correctlyRomain Forlot1-1/+1
Fix: displaying can message frame with hexa format. Change-Id: Iff658ac38f21a15945ed82509d4e291f0fda7503 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-01Change data_ member of can_message_t objectRomain Forlot1-6/+7
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>
2017-03-01Fix: improve can_message readRomain Forlot1-27/+89
Change-Id: If0c52c6df3f68e9b79fb851d64a729946cac6ef6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-01Delete for good obsolete codeRomain Forlot1-0/+1
Change-Id: Ic56fadcc7e6265072e4e3413f914b735b56e903d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-28Re-arranging objects splitting all objects overRomain Forlot1-0/+144
separated files. Change-Id: Ifbdb2ea08704324e505a48ba3124df6f2af63c6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>