diff options
author | Arthur Guyader <arthur.guyader@iot.bzh> | 2019-08-27 14:44:48 +0200 |
---|---|---|
committer | Arthur Guyader <arthur.guyader@iot.bzh> | 2019-08-30 15:06:45 +0200 |
commit | b8e8186c95f50e76aa4d88c3c751053568ab7cdf (patch) | |
tree | bd9e31008cd584fe5a8995e6338bd496ee25fedd /low-can-binding/can/message/j1939-message.cpp | |
parent | 7f038fed824cac9b747c033b441263512421c6b2 (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
Change-Id: Ic222615b547f28e926930e6c1dea2c0265055afd
Signed-off-by: Arthur Guyader <arthur.guyader@iot.bzh>
Diffstat (limited to 'low-can-binding/can/message/j1939-message.cpp')
-rw-r--r-- | low-can-binding/can/message/j1939-message.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/low-can-binding/can/message/j1939-message.cpp b/low-can-binding/can/message/j1939-message.cpp index ec65cba4..8e056c17 100644 --- a/low-can-binding/can/message/j1939-message.cpp +++ b/low-can-binding/can/message/j1939-message.cpp @@ -159,6 +159,12 @@ uint32_t j1939_message_t::get_id() const return get_pgn(); } +void j1939_message_t::set_id(const canid_t id) +{ + pgn_ = id; +} + + /** * @brief Return the sockname of the message * |