TCPIP forwarding
Jump to navigation
Jump to search
can4eve can be used to forward OBDII devices via TCP/IP
Example Script
You might want to run this script in the can4eve subdirectory. Unfortunately as of 2017-06 I have not found a way to make gradle create only the fatjar and not try to compile the android app. You might want to modify the pom and use maven see obdii example in the neighbouring directory ...
#!/bin/bash
# WF 2017-06-05
# https://stackoverflow.com/questions/16976214/gradle-build-only-one-module
../gradlew :can4eve:fatjar
jar="./build/libs/can4eve-all-0.0.1.jar"
#dev=cu.usbserial-113010822821
dev=cu.usbserial
#java -jar $jar -h
java -jar $jar -b 38400 -f -d -dv $dev -lf logfile.txt