Rename and handling write on socket using stream instead of specific method
authorRomain Forlot <romain.forlot@iot.bzh>
Mon, 24 Apr 2017 17:09:28 +0000 (19:09 +0200)
committerRomain Forlot <romain.forlot@iot.bzh>
Mon, 24 Apr 2017 17:09:28 +0000 (19:09 +0200)
commit901a27b0631909647137f49ccf12f4e9bfe38817
tree29f6ac7b6832c53e5b8ed472c8bcf29543382e03
parent9e72f805168ae60919117c98dc1ab6c7441873ac
Rename and handling write on socket using stream instead of specific method

Created special struct to handle bcm messages with can_frame and canfd_frame.
We can now just send both of them seamlessly.

Change-Id: Ia84e9cf2ab1dd0716cb09f6bb342a208e54f8e06
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
CAN-binder/low-can-binding/CMakeLists.txt
CAN-binder/low-can-binding/can/can-bus-dev.cpp
CAN-binder/low-can-binding/utils/socketcan.cpp [moved from CAN-binder/low-can-binding/utils/socket.cpp with 76% similarity]
CAN-binder/low-can-binding/utils/socketcan.hpp [moved from CAN-binder/low-can-binding/utils/socket.hpp with 59% similarity]