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

about coap testing plese help me

I'm concentrating on a work about connecting nrf51-dk device in the sensor node end implementing COAP server, ble enabled rapsberrypi and COAP client using Copper. To check connection, I followed nrf sdk 0.9 user guide and I got stucked with at some point. When copper ping to the nrf-dk device which get a global ipv6 address, it doesn't get ping response. when I ping in the raspberry pi to the nrf-dk, it work. I think on the external network, it doesn't know about the nrf51-dk network address, So I must implement the raspberry-pi as a real router using some method as well as nrf51sdk usr guide implementation. Is my suggestion right?? If so, how I make raspberry-pi forward packet to external network?? plz help me!!

  • Which user guide? What are you running Copper on? How is your network connected? You say you are able to ping the nRF51. Is this with a global address? Are you able to ping the Copper device from Raspberry Pi with global address? Are you able to ping the Raspberry Pi from the Copper device with global address?

  • My network is composed of nrf51-dk(with heartbeat sensor) -- raspberrypi -- end user(using copper) I referced it from the nrf-sdk getting started part (located at developer.nordicsemi.com/.../index.html) I followed this tutorial , but blocked from connecting copper to nrf51-dk sensor node, I have continued since I posted question, so My project improve, So I assign global address (ipv6) to nrf51-dk and can be connected to raspberry-pi, but at the end user(using copper) ping doesn't work, but in rpi ping works to the nrf51-dk. So I conclude that the router which I use not supports ipv6 so when the end user ping to the nrf51-dk router dosen't know the existence of nrf51-dk and rpi bluetooth interface. Am I right??

  • Please try to answer my questions. Are you able to ping the nRF51 with the global address? Or only link-local? What are you running Copper on? How is your network connected? And how is the Copper device connected to the RPi? Please describe this external network. Does it have a router? Is it connected to the internet? Do you have IPv6 connectivity? If you want to set up a simlated global network of nRF51 DK<->RPi<->Copper device this may be of help.

Related