Difference between revisions of "Installation"
Jump to navigation
Jump to search
Line 11: | Line 11: | ||
[INFO] BUILD SUCCESS | [INFO] BUILD SUCCESS | ||
</source> | </source> | ||
+ | = Testing = | ||
+ | <source lang='bash'> | ||
+ | mvn test | ||
+ | ... | ||
+ | ------------------------------------------------------- | ||
+ | T E S T S | ||
+ | ------------------------------------------------------- | ||
+ | Running com.bitplan.obdii.TestELM327 | ||
+ | CANTriplet: 0.0.1 | ||
+ | |||
+ | Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.321 sec | ||
+ | Running com.bitplan.obdii.TestVehicle | ||
+ | Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec | ||
+ | Running com.bitplan.obdii.TestWikiInfo | ||
+ | Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec | ||
+ | |||
+ | Results : | ||
+ | |||
+ | Tests run: 19, Failures: 0, Errors: 0, Skipped: 0 | ||
+ | |||
+ | [INFO] ------------------------------------------------------------------------ | ||
+ | [INFO] BUILD SUCCESS | ||
+ | [INFO] ---------------------------------------------- | ||
+ | </source> | ||
+ | |||
= command line interface = | = command line interface = | ||
<source lang='bash'> | <source lang='bash'> |
Revision as of 15:14, 10 June 2017
These are the installation instructions as of 2017-06 for the alpha state of the project
downloading and compiling
git clone https://github.com/BITPlan/can4eve
cd can4eve/obdii/
./rebuild
...
[INFO] Building jar: ... /can4eve/obdii/target/com.bitplan.obdii-0.0.1-jar-with-dependencies.jar
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
Testing
mvn test
...
-------------------------------------------------------
T E S T S
-------------------------------------------------------
Running com.bitplan.obdii.TestELM327
CANTriplet: 0.0.1
Tests run: 16, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 33.321 sec
Running com.bitplan.obdii.TestVehicle
Tests run: 2, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.061 sec
Running com.bitplan.obdii.TestWikiInfo
Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.003 sec
Results :
Tests run: 19, Failures: 0, Errors: 0, Skipped: 0
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ----------------------------------------------
command line interface
java -jar target/com.bitplan.obdii-0.0.1-jar-with-dependencies.jar -h
Help
CANTriplet: 0.0.1
usage: java CANTriplet
--display [None | Console | Swing] : display
the display to use one of:
None,Console,Swing
--host (--hostname) WERT : host
the host to connect to
--limit (--framelimit) N : limit
the maximum number of frames to read
--port (--portnumber) N : port
the port to connect to
--vg (--vehicle-group) WERT : vehicleGroup
the vehicleGroup to connect to
-c (--conn) WERT : connection device
the connection to use
-d (--debug) : debug
create additional debug output if this
switch is used
-h (--help) : help
show this usage
-l (--log) WERT : log
the logfile to write
-p (--pid) WERT : pid to monitor
the pid to monitor
-t (--timeout) N : timeout in msecs
the timeout for elm327 communication
-v (--version) : showVersion
show current version if this switch is
used