diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2019-11-26 16:19:38 +0100 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2019-11-28 16:11:47 +0100 |
commit | 22b1864b72c2520fbc9d4e3d3332c28916b5a9ed (patch) | |
tree | 0d325c2a86751fe88ed046b448b783beec3cabbd /low-can-binding/utils/socketcan.hpp | |
parent | fee3b49099fb39731e15f9e26ad5a873bc109f59 (diff) |
Add feature ISO TP (multi frames and peer to peer)
This commit adds the ISO TP feature. The ISO TP protocol
allows to communicate between two ECU. The protocol
allows multi packets management.
Bug-AGL : SPEC-2779
Bug-AGL: SPEC-2976
Change-Id: Ic222615b547f28e926930e6c1dea2c0265055afd
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'low-can-binding/utils/socketcan.hpp')
-rw-r--r-- | low-can-binding/utils/socketcan.hpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/low-can-binding/utils/socketcan.hpp b/low-can-binding/utils/socketcan.hpp index 6391d011..a3b31591 100644 --- a/low-can-binding/utils/socketcan.hpp +++ b/low-can-binding/utils/socketcan.hpp @@ -27,6 +27,7 @@ #include "../can/message/can-message.hpp" #define INVALID_SOCKET -1 +#define NO_CAN_ID 0xFFFFFFFFU namespace utils { @@ -58,6 +59,4 @@ namespace utils int bind(const struct sockaddr* addr, socklen_t len); int connect(const struct sockaddr* addr, socklen_t len); }; - - } |