ipv6contiki6lowpan

Using Rime and 6LoWPAN in Contiki OS


I'm trying to make use of the 6LoWPAN implementation provided by Contiki OS.

My problem is that Rime is just working without having the flag UIP_CONF_IPV6 set. As soon as I set the flag in order to activate IPv6 support the compiler reports 'multiple definition' of the functions rime_sniffer_add() and rime_sniffer_remove() which are located in rime.c as well as in sicslowpan.c.

Has someone managed to solve this issue or a working example?


Solution

  • In case someone's interested in 6LoWPAN using Contiki:

    The right way is to use RPL which is basically designed for IPv6 and 6LoWPAN.
    Refer to Contiki's udp_rpl example in order to set up a server/client-communication. The appropriate flags will enable 6LoWPAN header compression.