* Now should be able to run Tunslip commands. This connects the Java framework program to Cooja
**Connect Cooja Network to Tunslip-**
* Run Cooja using instructions from Wiki
* Create new simulation
...
...
@@ -13,6 +7,11 @@
* Right click border node and select Mote tools -> SERIAL SOCKET (SERVER) option
* Type 60001 and then press Start
**Running Tunslip-**
* Navigate to firmware/edgenode directory
* Run 'sudo make connect-router-cooja'
* Now should be able to run Tunslip commands. This connects the Java framework program to Cooja
**Installing MySQL and Importing MySQL Dumpfile-**
...
...
@@ -35,22 +34,22 @@
* Navigate to framework/ant/build
* sudo ant {java class name}
* Possible java class options:
*dblogger
*dlgstatus
* sensorapp
*createoldfakedata
* generatorsensor
To test the border-router:
1. Go to ../firmware/edgeNode/ directory
2. Run "sudo make connect-router"
3. Go to ../framework/ directory
4. Run "ant run-server"
5. Hit Ctrl+Z
6. Run "ant run-dblogger"
7. Hit Ctrl+Z
8. Run "ant run-sensorapp"
*run-server
*run-dblogger
*run-sensorapp
*run-generator
To test the border-router with a physical device:
1. Make sure a device is plugged into the computer that has the ../firmware/edgeNode/border-router.hex (generate this file by running the Makefile, i.e. ```make TARGET=srf06-cc26xx BOARD=launchpad/cc1310```) file loaded onto it.
2. Go to ../firmware/edgeNode/ directory
3. Run ```sudo make connect-router```
4. Go to ../framework/ directory
5. Run ```ant run-server```
6. Hit ```Ctrl+Z```
7. Run ```ant run-dblogger```
8. Hit ```Ctrl+Z```
9. Run ```ant run-sensorapp```
A GUI will pop up. That GUI should display all nodes connected to the network. If it's working, you should be able to click on a node and click the "Observe" button and see its sensor data.