obd-parser-development-connection
A connetion for the obd-parser module that is useful when developing. It will return random data for any PID being requested.
Usage
See the /examples folder in obd-parser for a full example:
// In your code this should be changed to 'obd-parser'; // Use a serial connection to connect; // Returns a function that will allow us to connect to the serial port; // Need to initialise the OBD module with a "connector" before startingOBD.initconnect .then
The above code will work exactly the same as JavaScript, just remove the type annotation and change the import line to var OBD = require('obd-parser').
CHANGELOG
-
0.2.1 - Add missing dependency
-
0.2.0 - Add random delay for responses similar to a real car
-
0.1.3 - Remove comment that is no longer valid
-
0.1.2 - Fix to include dist JS files
-
0.1.1 - Fix to include dist JS files
-
0.1.0 - Initial release