Code Review
/
apps
/
agl-service-can-low-level.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Implement check of supported diagnostic PID.
[apps/agl-service-can-low-level.git]
/
src
/
diagnostic
/
diagnostic-message.cpp
diff --git
a/src/diagnostic/diagnostic-message.cpp
b/src/diagnostic/diagnostic-message.cpp
index
7473e7b
..
62da0dc
100644
(file)
--- a/
src/diagnostic/diagnostic-message.cpp
+++ b/
src/diagnostic/diagnostic-message.cpp
@@
-67,6
+67,16
@@
DiagnosticResponseCallback diagnostic_message_t::get_callback() const
return callback_;
}
return callback_;
}
+bool diagnostic_message_t::get_supported() const
+{
+ return supported_;
+}
+
+void diagnostic_message_t::set_supported(bool value)
+{
+ supported_ = value;
+}
+
/**
* @brief Build a DiagnosticRequest struct to be passed
* to diagnostic manager instance.
/**
* @brief Build a DiagnosticRequest struct to be passed
* to diagnostic manager instance.