Amazing technological breakthrough possible @S-Logix 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 attach the variable in UIP_ICMP_BUF in RPL contiki cooja?

Description

It is a pointer to ICMP header. To know about how to attach the variable in control message headers in rpl using contiki cooja simulator.

Source code

Step 1: Open file at location:
Home/user/contiki/core/net/ip /uip.h
struct uip_icmp_hdr – to add variables in icmp header

Step 2: To store and access variable
Location: contiki/core/net/rpl/rpl-icmp6.c
UIP_ICMP_BUF->values = node location (any value)

Output