diff options
author | Romain Forlot <romain.forlot@iot.bzh> | 2017-04-24 19:15:07 +0200 |
---|---|---|
committer | Romain Forlot <romain.forlot@iot.bzh> | 2017-04-24 19:15:07 +0200 |
commit | 84264431ca5a9958b3bb00b3de481336cf0cccb1 (patch) | |
tree | 068c4a89e3b79db33f0ee6e607ae6cbbbf1eb14b /CAN-binder/low-can-binding/can/can-message-definition.cpp | |
parent | 901a27b0631909647137f49ccf12f4e9bfe38817 (diff) |
Create a received job for BCM Socket to handle filtering.
Filter is created using can_signals description and send with appropriate
BCM header structure. This is the simplest way to do, no temporal filtering
for now is available.
Change-Id: Iee49f011ba9316880735d2765c1c23a8b2d3c4d2
Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'CAN-binder/low-can-binding/can/can-message-definition.cpp')
-rw-r--r-- | CAN-binder/low-can-binding/can/can-message-definition.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/CAN-binder/low-can-binding/can/can-message-definition.cpp b/CAN-binder/low-can-binding/can/can-message-definition.cpp index 206d0b0c..98294289 100644 --- a/CAN-binder/low-can-binding/can/can-message-definition.cpp +++ b/CAN-binder/low-can-binding/can/can-message-definition.cpp @@ -49,6 +49,11 @@ can_message_definition_t::can_message_definition_t(std::uint8_t message_set_id, last_value_{CAN_MESSAGE_SIZE} {} +const std::string& can_message_definition_t::get_bus_name() const +{ + return bus_; +} + uint32_t can_message_definition_t::get_id() const { return id_; |