Difference between revisions of "TCPIP forwarding"

From BITPlan can4eve Wiki
Jump to navigation Jump to search
(Created page with "can4eve can be used to forward OBDII devices via TCP/IP <source lang='bash'> #!/bin/bash # WF 2017-06-05 # https://stackoverflow.com/questions/16976214/gradle-build-only-one-...")
 
 
Line 1: Line 1:
 
can4eve can be used to forward OBDII devices via TCP/IP
 
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 ...
 
<source lang='bash'>
 
<source lang='bash'>
 
#!/bin/bash
 
#!/bin/bash

Latest revision as of 20:38, 20 June 2017

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