I'm trying to send CoAP messages from an Raspberry Pi3 B to an nRF52 DK with Obersve_server on it.
What i've done :
I'ive edited radvd.conf like this :
then i've created a connexion.sh file :
Then : i've added the 2001:db8::1/64 prefix to bt0 interface with
ifconfig bt0 add 2001:db8::1/64
and i've checked the bt0 interface :
A inet6 2001:db8::b827:ebff:fe9b:9a23 should be present ? so ive added it manually
ifconfig bt0 add 2001:db8::b827:ebff:fe9b:9a23/64
Then i've ping the device with the local address :
and the global adress :
FInally i've tried to send a message with Copper (Firefox) with the following adress "coap://[2001:db8::b827:ebff:fe9b:9a23]/:5683" but i've always the same message : "Warning : Message xxxx timed out"
I don't know what i've done wrong and I hope you can help me...
Sorry if my English isn't correct, it's not my main language.
So the Raspberry Pi address is 2001:db8::1. You do not have to add more addresses to the RPi. Do not add 2001:db8::b827:ebff:fe9b:9a23 to the RPi. When you ping this address, you are just pinging the RPi itself, not the nRF52 DK.
You should be able to ping the DK using the DK's MAC address, explained here: https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/iot_sdk_user_guides_ipv6_address_creation.html?cp=5_1_5_5_0_4
Here's a complete list of things to do: https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v15.3.0/iot_sdk_user_guides_linux_commands.html?cp=5_1_5_5_0_5
Hi, thanks for the reply.
I tried this, but i can't ping the device : Destination unreachable
I have 2 points which, maybe, cause the problem :
First : when I tried this :
mount -t debugfs none /sys/kernel/debug
none already mounted or mount point busy
Second : My kernel version is 4.15.0 so i have to set BLE_6LOWPAN_LEGACY_MODE define in sdk_config.h to 0.
But I don't have a keil uvision pro version so i can't compile because the program Code size is restricted to 32 Kbyte. For this one I'll try to have a pro version with my company
Is there an alternative to Keil uVision ? I tried SEGGER embedded Studio but I can't open the project