|
|
| In order to transfer the ownership of the contiki directories use the following command. | | In order to transfer the ownership of the contiki directories use the following command. |
| | | |
− | <code><nowiki> sudo chown :user /dev/ttyUSB0 </nowiki></code>
| + | sudo chown :user /dev/ttyUSB0 |
| | | |
− | <code><nowiki> sudo chown :user /dev/ttyUSB1 </nowiki></code>
| + | sudo chown :user /dev/ttyUSB1 |
| | | |
| == Using the Source Code == | | == Using the Source Code == |
|
|
| For sink: | | For sink: |
| | | |
− | <code><nowiki> make TARGET=sky MOTES=/dev/ttyUSB0 collect-view-shell.upload </nowiki></code>
| + | make TARGET=sky MOTES=/dev/ttyUSB0 collect-view-shell.upload |
| | | |
| For source: | | For source: |
| | | |
− | <code><nowiki> make TARGET=sky MOTES=/dev/ttyUSB1 collect-view-shell.upload </nowiki></code>
| + | make TARGET=sky MOTES=/dev/ttyUSB1 collect-view-shell.upload |
| | | |
| === Step 3 === | | === Step 3 === |
|
|
| Now we would like to see the transfer and depiction of data on the collect-view GUI. For that to happen, go to /tools/collect-view directory and run "ant" to build the collect viewer. | | Now we would like to see the transfer and depiction of data on the collect-view GUI. For that to happen, go to /tools/collect-view directory and run "ant" to build the collect viewer. |
| | | |
− | <code><nowiki> ant run </nowiki></code>
| + | ant run |
| | | |
| '''Note''' - In order to edit GUI java files go to the /src directory. | | '''Note''' - In order to edit GUI java files go to the /src directory. |
|
|
| To view the data collected at the sink, go to the generated /tools/collect-view/dist and run - | | To view the data collected at the sink, go to the generated /tools/collect-view/dist and run - |
| | | |
Exception encountered, of type "Error"