Download as pdf or txt
Download as pdf or txt
You are on page 1of 11

19ce085

Part 3 program 2

Aim: Perform RPL-6LowPAN Demo in Contiki and analyse pcap file.

Implementation:
1. Open the terminal, route to cooja path and write “ant run” to Start the Cooja Simulator.

1
19ce085

2. Create New Simulation as shown below.

2
19ce085

3
19ce085

3. Now add 1 receiver sky mote and for Contiki Process/firmware browse to the “unicast-receiver.c” file
path. Then compile it, create it and add 1 mote.

4
19ce085

4. Similarly Add 10 sender sky motes, but now for Contiki Process/firmware browse to the “unicast-
sender.c” file path. Then compile it, create it and add 10 motes.

5
19ce085

Also Enable some options from “View” menu for detailed and better visualization as shown below.

6
19ce085

5. Arrange the motes as shown below.

7
19ce085

Enable “Addresses” option from “View” menu for detailed visualization as shown below.

6. Click on “Start” button to Start the simulation.

8
19ce085

7. Now click on “Tools” menu, select “Radio Messages” and select “6LowPan Analyzer with PCAP”
to analyze packets using wireshark.

9
19ce085

8. Browse to the “build” directory of cooja tool, we should be able to see the saved PCAP file.

10
19ce085

9. Open Wireshark and open saved PCAP file to analyze.

11

You might also like