#5, First Floor, 4th Street , Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 pro@slogix.in

Office Address

  • #5, First Floor, 4th Street Dr. Subbarayan Nagar Kodambakkam, Chennai-600 024 Landmark : Samiyar Madam
  • pro@slogix.in
  • +91- 81240 01111

Social List

How to add the extra fields in DIO packets in RPL using contiki cooja simulator?
Description

To know about how to add the extra fields in DIO packets in rpl using cooja network simulator.

Step-1

   open a file at location

   Home/user/contiki/core/
net/rpl/rpl-icmp6.c

   Here the dio messages are
handling function dio_input().
We can add here the extra option
to the basic DIO message format.

Step-2

   For example added in
dio packets

In dio_input() function

Step-3

home/user/contiki/core/net/rpl/rpl-private.h

Step-3

   run the cooja simulation
and check the output.

Output