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.

   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.

   For example added in
dio packets

In dio_input() function

v9

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

v10

   run the cooja simulation
and check the output.

11c
Leave Comment

Your email address will not be published. Required fields are marked *

clear formSubmit