summaryrefslogtreecommitdiffstats
path: root/src/diagnostic/active-diagnostic-request.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-15 23:20:27 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:21:57 +0100
commit5d7fbc236e5778a54c39afd51ed353c0e8761dec (patch)
tree8ad91b27dd53a4bac7d35d8f88635afb0a100015 /src/diagnostic/active-diagnostic-request.hpp
parentf886559f8a8ac1dadf4942ab2c993a6db4f53d2b (diff)
Retrieve easily Diagnostic Request PID from an Active Diagnostic Request
Change-Id: I787cd94b338c458fda0259bd2bcf47a1fa85cc3f Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/diagnostic/active-diagnostic-request.hpp')
-rw-r--r--src/diagnostic/active-diagnostic-request.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/diagnostic/active-diagnostic-request.hpp b/src/diagnostic/active-diagnostic-request.hpp
index b40ae08a..cb9b1d09 100644
--- a/src/diagnostic/active-diagnostic-request.hpp
+++ b/src/diagnostic/active-diagnostic-request.hpp
@@ -93,6 +93,7 @@ public:
uint32_t get_id() const;
const std::shared_ptr<can_bus_dev_t> get_can_bus_dev() const;
DiagnosticRequestHandle* get_handle();
+ uint16_t get_pid() const;
const std::string get_name() const;
static std::string& get_prefix();
DiagnosticResponseDecoder& get_decoder();