This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Setting up IPv6 over BLE using nRF52 Series and Contiki OS

Hi All

Currently i am working on IPV6 over BLE with contiki oS.

For that i am following link ...

https://devzone.nordicsemi.com/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-com

I have successfully established the connection with nRF52 DK.

After that If i ping to the nrf52 dk, i am getting following response.

ping6: Warning: source address might be selected on device other than bt0.
PING fe80::217:1Bff:fe61:F143(fe80::217:1bff:fe61:f143) from :: bt0: 56 data bytes
From fe80::b0c0:90ff:feb4:151c%bt0: icmp_seq=1 Destination unreachable: Address unreachable
From fe80::b0c0:90ff:feb4:151c%bt0: icmp_seq=2 Destination unreachable: Address unreachable
From fe80::b0c0:90ff:feb4:151c%bt0: icmp_seq=3 Destination unreachable: Address unreachable

But if i ping to local address, i am getting proper response.

PING fe80::b0c0:90ff:feb4:151c%bt0(fe80::b0c0:90ff:feb4:151c%bt0) 56 data bytes
64 bytes from fe80::b0c0:90ff:feb4:151c%bt0: icmp_seq=1 ttl=64 time=0.132 ms
64 bytes from fe80::b0c0:90ff:feb4:151c%bt0: icmp_seq=2 ttl=64 time=0.098 ms
64 bytes from fe80::b0c0:90ff:feb4:151c%bt0: icmp_seq=3 ttl=64 time=0.096 ms
64 bytes from fe80::b0c0:90ff:feb4:151c%bt0: icmp_seq=4 ttl=64 time=0.108 ms

So, please help me how to resolve this issue.

Thanks in advance

Best Regards,

Akash.

Parents Reply
  • Then I guess the only part you are missing is to interpret the messages to either turn on or off the ON_OFF model in the mesh example, is that correct?

    If you look in the light_switch\client example how to control the LEDs. It is done in the button_event_handler() in main.c on this example.

    This part has to be done in the application layer, as the Mesh SDK doesn't have support for IPv6 by default. Is the node that you are sending/receiving IPv6 messages with part of the mesh network?

    By the way, are you using the SDK for Mesh for this, i.e. Bluetooth mesh, or is it some other form of mesh network?

    BR,

    Edvin

Children
Related