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

Destination unreachable:address unreachable.


I am trying to set up mqtt between 2 nrf52s and rpi3 with the examples of sdk 15.0.2. I am very new to nrf52, rpi3 and networking. I have read everything needed as much as I can. However when I was following examples from infocenter and https://visualgdb.com/tutorials/arm/nrf51/6lowpan/ , there is a problem occurred. I could connect to nrf52 via bluetooth but I cannot send a ping to it. I have read related docs about Ipv6, 6Lowpan, BLE but could not find what is the point I have missed. May you please direct me to a way to understand my problem?

I am using Raspbian stretch lite version 4.14

SS of result of ping6 command

SS of result of ifconfig command

Parents
  • What do you mean by "need to omit 2 after fe80::" ?

    What is your application supposed to do after you press button 1? Can you please, please, please tell me what you have programmed on your nRFs?

  • Hey Edvin,

    Sorry for my uncertain post. I am using PCA10040: nRF52832: S132. 

    I meant by omitting:

    My kernel is 4.14 and I do not need to give an address with this scheme.

    Now, I succesfully did everything and I can blink LED4 of board by sending pub message from broker. 

    Now, another problem is arisen. When I connect one of my board either as sub or as pub to RPi router and send command to blink led, everything is ok. However, when I connect both of my boards at the same time to the router the connection is gone and buttons do not work. I give 2001:db8::1/64 to my bt0 interface, should I give 2001:db8::2/64 to second device? 

    I am sorry for bad English. Thank you very much. 

    Best regards,

    Halil

Reply
  • Hey Edvin,

    Sorry for my uncertain post. I am using PCA10040: nRF52832: S132. 

    I meant by omitting:

    My kernel is 4.14 and I do not need to give an address with this scheme.

    Now, I succesfully did everything and I can blink LED4 of board by sending pub message from broker. 

    Now, another problem is arisen. When I connect one of my board either as sub or as pub to RPi router and send command to blink led, everything is ok. However, when I connect both of my boards at the same time to the router the connection is gone and buttons do not work. I give 2001:db8::1/64 to my bt0 interface, should I give 2001:db8::2/64 to second device? 

    I am sorry for bad English. Thank you very much. 

    Best regards,

    Halil

Children
Related