diff options
Diffstat (limited to 'libraries/OBD/OBD.h')
-rw-r--r-- | libraries/OBD/OBD.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libraries/OBD/OBD.h b/libraries/OBD/OBD.h index 362c1bb..dcd30fb 100644 --- a/libraries/OBD/OBD.h +++ b/libraries/OBD/OBD.h @@ -138,6 +138,8 @@ public: virtual void clearDTC();
// get battery voltage (in 0.1V, e.g. 125 for 12.5V, works without ECU)
virtual float getVoltage();
+ // get VIN as a string, buffer length should be >= OBD_RECV_BUF_SIZE
+ virtual bool getVIN(char* buffer);
// send query for specified PID
virtual void sendQuery(byte pid);
// retrive and parse the response of specifie PID
|