|
a/setEnv.sh |
|
b/setEnv.sh |
|
... |
|
... |
4 |
unlink /dev/tty63
|
4 |
unlink /dev/tty63
|
5 |
unlink /dev/ttyS88
|
5 |
unlink /dev/ttyS88
|
6 |
ln -s /dev/ttyACM0 /dev/tty63
|
6 |
ln -s /dev/ttyACM0 /dev/tty63
|
7 |
ln -s /dev/ttyUSB0 /dev/ttyS88
|
7 |
ln -s /dev/ttyUSB0 /dev/ttyS88
|
8 |
#echo "" > /opt/c2net-iot-hub/Resources/devices.txt
|
8 |
#echo "" > /opt/c2net-iot-hub/Resources/devices.txt
|
|
|
9 |
#killall java
|
9 |
cd /home/psimoes/c2net-dcf-iot-hub-iot-hub-2-code
|
10 |
cd /home/pi/c2net-dcf-iot-hub-iot-hub-2-code
|
10 |
mvn clean package
|
11 |
mvn clean package
|
11 |
#java -Djava.library.path=/usr/lib/rxtx:/usr/lib/jni -jar /home/psimoes/c2net-dcf-iot-hub-iot-hub-2-code/target/IoT_hub-0.0.1-SNAPSHOT-jar-with-dependencies.jar
|
12 |
java -Djava.library.path=/usr/lib/rxtx:/usr/lib/jni -jar /home/pi/c2net-dcf-iot-hub-iot-hub-2-code/target/IoT_hub-0.0.1-SNAPSHOT-jar-with-dependencies.jar
|
12 |
java -jar /home/psimoes/c2net-dcf-iot-hub-iot-hub-2-code/target/IoT_hub-0.0.1-SNAPSHOT-jar-with-dependencies.jar
|
13 |
#java -jar /home/psimoes/c2net-dcf-iot-hub-iot-hub-2-code/target/IoT_hub-0.0.1-SNAPSHOT-jar-with-dependencies.jar
|