List of Topics:
Research Breakthrough Possible @S-Logix pro@slogix.in

Office Address

Social List

How to Add the Extra Fields in DIO Packets in RPL Using Contiki Cooja Simulator?

Add the extra fields in DIO packets in RPL using contiki cooja simulator

Cooja Simulator Sample for Adding the Extra Fields in DIO Packets in RPL

  • 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
    Process the dio base option
Step-3
  • home/user/contiki/core/net/rpl/rpl-private.h
    Added and received the packets
Step-4
  • run the cooja simulation and check the output.
    run the cooja simulation
Output
  • Get the output