From e78758eab6b6582af0d1a86f3a56012499fb2308 Mon Sep 17 00:00:00 2001 From: Romain Forlot Date: Mon, 22 May 2017 10:28:38 +0200 Subject: Logical bus name mapped to device name using conf file. Store CAN device map without prefixed section name and add methods to get the mapped device name. Change-Id: I03ebc175c67b2251016863b0d69a45a816a81d25 Signed-off-by: Romain Forlot --- CAN-binder/low-can-binding/diagnostic/diagnostic-manager.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'CAN-binder/low-can-binding/diagnostic/diagnostic-manager.hpp') diff --git a/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.hpp b/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.hpp index 894cf630..9f19b016 100644 --- a/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.hpp +++ b/CAN-binder/low-can-binding/diagnostic/diagnostic-manager.hpp @@ -67,7 +67,8 @@ public: bool initialize(); utils::socketcan_bcm_t& get_socket(); - std::string get_can_bus(); + const std::string get_bus_name() const; + const std::string get_bus_device_name() const; active_diagnostic_request_t* get_last_recurring_requests() const; DiagnosticShims& get_shims(); -- cgit 1.2.3-korg