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

Cannot ping6 nRF52832 using ContikiOS

Hi,

I am implementing ContikiOS on my custom nRF52823 board. I have been following the instruction here: github.com/.../README-BLE-6LoWPAN.md

I am running Debian 9 testing. I modified the header file pca10040.h to use different pins for LEDs.

Everying is going well but at the last step, i can't ping the device. I can scan it using hcitool lescan and connect to the device using echo "connect 00:E1:F8:BE:70:DA 1" > /sys/kernel/debug/bluetooth/6lowpan_control. Here is the result of ifconfig

root@myDeb:/home/elecfist# ifconfig
bt0: flags=4161<UP,RUNNING,MULTICAST>  mtu 1280
        inet6 fe80::780c:b8ff:fec7:a082  prefixlen 64  scopeid 0x20<link>
        unspec 78-0C-B8-C7-A0-82-00-A7-00-00-00-00-00-00-00-00  txqueuelen 1000  (UNSPEC)
        RX packets 0  bytes 0 (0.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 15  bytes 1183 (1.1 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

The bt0 interface is also present and up. The leds also indicate that i have connected to be board. The command ping6 -I bt0 fe80::2e1:f8ff:febe:70da returns something like this.

root@myDeb:/home/elecfist# ping6 -I bt0 fe80::2e1:f8ff:febe:70da
PING fe80::2e1:f8ff:febe:70da(fe80::2e1:f8ff:febe:70da) from fe80::780c:b8ff:fec7:a082%bt0 bt0: 56 data bytes
From fe80::780c:b8ff:fec7:a082%bt0 icmp_seq=1 Destination unreachable: Address unreachable
From fe80::780c:b8ff:fec7:a082%bt0 icmp_seq=2 Destination unreachable: Address unreachable
From fe80::780c:b8ff:fec7:a082%bt0 icmp_seq=3 Destination unreachable: Address unreachable
^C
--- fe80::2e1:f8ff:febe:70da ping statistics ---
5 packets transmitted, 0 received, +3 errors, 100% packet loss, time 4088ms

How do I troubleshoot this problem?

Related