aboutsummaryrefslogtreecommitdiffstats
path: root/src/can-bus.cpp
AgeCommit message (Collapse)AuthorFilesLines
2017-03-01Fix: improve can_message readRomain Forlot1-19/+8
Change-Id: If0c52c6df3f68e9b79fb851d64a729946cac6ef6 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-03-01Delete for good obsolete codeRomain Forlot1-1/+1
Change-Id: Ic56fadcc7e6265072e4e3413f914b735b56e903d Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-28Implement a new method returning the can deviceRomain Forlot1-0/+5
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-25/+17
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-28Fix: wrong argument passed to start_reading().Romain Forlot1-1/+1
Not needed to specify std::ref... Change-Id: I0e5ae02554f8a0f07ec1d40670b9b089453804e0 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-28Added debugging messages.Romain Forlot1-3/+8
Change-Id: I42d2576355f69ac167b170a2994c7360d8449fb7 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/+123
Change-Id: I3cf06998c6ff6d859c7fdf6bf52a9b6ff061c556 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
2017-02-28Re-arranging objects splitting all objects overRomain Forlot1-0/+363
separated files. Change-Id: Ifbdb2ea08704324e505a48ba3124df6f2af63c6b Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>