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 ==
=== Step 1 ===
=== Step 1 ===
−Go to /examples/ipv6/rpl-collect/ directory.
+Go to /examples/collect/ directory.
=== Step 2 ===
=== Step 2 ===
−Now we need to program one mote as the sink and the other as source. We will use a predefined target called z1 to upload the code in the motes.
+Now we need to program one mote as the sink and the other as source. We will use a predefined target called sky to upload the code in the motes.
For sink:
For sink:
Exception encountered, of type "Error"