summaryrefslogtreecommitdiffstats
path: root/src/diagnostic/diagnostic-message.hpp
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-03-07 15:36:18 +0100
committerRomain Forlot <romain.forlot@iot.bzh>2017-03-16 17:09:03 +0100
commit2258a5b7307cec0fff3bc840c6a5cf72cb0682a3 (patch)
treef622bc19315c2bc2dd8a1a4957c62269e29eac60 /src/diagnostic/diagnostic-message.hpp
parentfe846f6698710163af5f2658cc90151259b09d0d (diff)
Fix: typo, and dirty fix to get compiled ftm.
Change-Id: I74042051346a0f0f4de7152e2a668c041edaebde Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src/diagnostic/diagnostic-message.hpp')
-rw-r--r--src/diagnostic/diagnostic-message.hpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/diagnostic/diagnostic-message.hpp b/src/diagnostic/diagnostic-message.hpp
index cd4afd5..5adbde5 100644
--- a/src/diagnostic/diagnostic-message.hpp
+++ b/src/diagnostic/diagnostic-message.hpp
@@ -67,13 +67,13 @@ typedef struct _Obd2Pid {
*/
class obd2_signals_t {
private:
- uint8_t pid_;
- const char* generic_name_;
- const int min_;
- const int max_;
- enum UNIT unit_;
- int frequency_;
- bool supported_;
+ uint8_t pid_; /*!< pid - The 1 byte PID.*/
+ const char* generic_name_; /*!< generic_name_ - A human readable name to use for this PID when published.*/
+ const int min_; /*!< min_ - Minimum value that can take this pid */
+ const int max_; /*!< max_ - Maximum value that can take this pid */
+ enum UNIT unit_; /*!< unit_ : Which unit system is used by that pid. See enum UNIT above.*/
+ int frequency_; /*!< frequency - The frequency to request this PID if supported by the vehicle when automatic, recurring OBD-II requests are enabled.*/
+ bool supported_; /*!< supported_ - boolean indicating whether this pid is supported by the vehicle or not.*/
public:
const char* generic_name = generic_name_;