summaryrefslogtreecommitdiffstats
path: root/src/can-bus.hpp
AgeCommit message (Collapse)AuthorFilesLines
2017-03-16Beginning of work on obd2 object andRomain Forlot1-172/+0
files reorganization. Change-Id: Idaa7ad05c45d734ce771506fd6e41f1a09a6ac66 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-06Comment pass to cpp file instead of hppRomain Forlot1-158/+6
Change-Id: I13f3b3d81485ec59a636f11140074d9f25f87428 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-02Clean up uneeded members and functionsRomain Forlot1-4/+0
Change-Id: Idc9ebe9cfc6e348c378c1489971600b8f125e6e1 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-02Fix: unsynchronization between queues.Romain Forlot1-0/+1
Ressources not enough protected with mutex, I extend the scope of the lock to make sure that event flow go through synchronously. Change-Id: I77a80ab69eb768a211c537e0f33580379832a465 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-01New way to return canfd_frame with now number of read bytes.Romain Forlot1-1/+1
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: improve can_message readRomain Forlot1-1/+1
Change-Id: If0c52c6df3f68e9b79fb851d64a729946cac6ef6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-28Implement a new method returning the can deviceRomain Forlot1-31/+13
map. Change-Id: Ie44bb825269034f9f071bd286c7830a77ba5c479 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-28Fix: can bus object life is now expanded and don'tRomain Forlot1-3/+14
die prematuraly. can_bus_handler object is now a pointer living forever. can_bus_dev_t object is now stored as a shared pointer into a variable member into can_bus_t. So everyone survive now. Change-Id: I52768dd7fe3c203a5f679f59afd1bcf330f3af35 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-28Make the thread function members of can_bus_t and can_bus_dev_t objects.Romain Forlot1-35/+47
Change-Id: I3cf06998c6ff6d859c7fdf6bf52a9b6ff061c556 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-28Re-arranging objects splitting all objects overRomain Forlot1-0/+322
separated files. Change-Id: Ifbdb2ea08704324e505a48ba3124df6f2af63c6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>