aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRomain Forlot <romain.forlot@iot.bzh>2017-02-15 16:47:12 +0000
committerRomain Forlot <romain.forlot@iot.bzh>2017-02-15 16:47:12 +0000
commite20d3f47d9b5cb0d9eb8b087f662b811100384e6 (patch)
tree628dbeda413599c20c6540418537638babbf6a08 /src
parent4169ab612f0b78ca0cbe47663007bdffc5b25907 (diff)
Make public OBD2PID
Change-Id: I9879bf83fc57f8f480ff43d27e2fc6635fb1d6f7 Signed-off-by: Romain Forlot <romain.forlot@iot.bzh>
Diffstat (limited to 'src')
-rw-r--r--src/obd2.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/obd2.h b/src/obd2.h
index 862c04a2..61cb70c3 100644
--- a/src/obd2.h
+++ b/src/obd2.h
@@ -118,6 +118,8 @@ float handleObd2Pid(const DiagnosticResponse* response, float parsedPayload);
*/
class Obd2Handler_c {
private:
+
+ public:
/*
* Pre-defined OBD-II PIDs to query for if supported by the vehicle.
*/
@@ -143,7 +145,6 @@ class Obd2Handler_c {
{ pid: 0x63, name: "obd2.engine.torque", min: 0, max: 65535, unit: NM, frequency: 1, supported: false },
};
- public:
Obd2Handler_c();
bool isObd2Request(request);