<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><description>Support for nRF52 Series in Contiki OS is no longer maintained and is pending removal. Please check out nRF52x series support in Zephyr OS which offers BLE over IPv6 connectivity.
This tutorial shows you how to set up IPv6 over BLE communic...</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Mon, 09 Apr 2018 11:33:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>donhuanvn96</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;&lt;span&gt;Hi,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Why I can&amp;#39;t ping6 with link-local address, but I can ping6 ff02::1?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img alt=" " height="227" src="/resized-image/__size/640x480/__key/commentfiles/f7d226abd59f475c9d224a79e3f0ec07-41d11ef8-1b0a-487a-aae1-1b6e0dab571d/tam.png" width="338" /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt; And I aslo can&amp;#39;t perform &amp;quot;Distributing routable IPv6 prefix&amp;quot;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tested the issue on ubuntu 15.10, 16.04 and 17.10. I also tested all 6lwpan example: hello-world, coap-server (example/nrf52dk), coap-server (IoT SDK), icmp (IoT SDK). The same issues still appeared.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Wed, 31 May 2017 06:54:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>wbober</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Vijay,&lt;/p&gt;
&lt;p&gt;You need a J-Link programmer in order to flash code. Our dev kits have a J-Link programmer on board, so you don&amp;#39;t need a separate device. However, as far as I understand, SparkFun&amp;#39;s break board doesn&amp;#39;t have one. This means you need to buy one separately.&lt;/p&gt;
&lt;p&gt;I strongly recommend getting a dev kit.&lt;/p&gt;
&lt;p&gt;Kind regards,
Wojtek&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Tue, 30 May 2017 12:56:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>vijay</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi all,&lt;/p&gt;
&lt;p&gt;I am using sparkfuns nrf52832 breakout board. I connected the board using FTDI connector and I am able to compile the helloworld example but while flashing the codes into the board i am getting error as&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;J-Link connection not established yet but required for command.
Connecting to J-Link via USB...FAILED: Can not connect to J-Link via USB.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;can anyone help how to resolve this error and how to make connections for nrf52832 breakout board.&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Fri, 31 Mar 2017 11:03:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>wbober</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Youssif,&lt;/p&gt;
&lt;p&gt;It is mentioned in section 4). The address is formed from the prefix distributed by RADVD and Interface ID derived from Bluetooth Device Address.&lt;/p&gt;
&lt;p&gt;For example, 2001:db8::2aa:bbff:fecc:ddee, where 2001:db8::/64 is prefix and aa:bb:cc:dd:ee being BDA.&lt;/p&gt;
&lt;p&gt;Kind regards,
Wojtek&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Fri, 24 Mar 2017 15:25:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>Youssif</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;One thing I didn&amp;#39;t find mentioned anywhere is how to get the URI address used in step 7 (Using Mozilla Firefox as a CoAP client). Is this a hardcoded address or is it something we have to deduce from the remote address?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Tue, 17 Jan 2017 09:28:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>wbober</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Raju,&lt;/p&gt;
&lt;p&gt;The issue seems to be caused by some changes introduced to Contiki a few months ago by Contiki developers.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve submitted the issue (see &lt;a rel="nofollow" target="_blank" href="https://github.com/contiki-os/contiki/issues/2014)"&gt;github.com/.../2014)&lt;/a&gt;, but I didn&amp;#39;t get any reply.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Mon, 16 Jan 2017 17:05:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>Raju</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Wbober,&lt;/p&gt;
&lt;p&gt;As you said the Master branch on Contiki project has been broken for nrf52DK. Is there any plan to update Master branch to support for nrf52DK? If so, when we can expect the same.&lt;/p&gt;
&lt;p&gt;Thanks,
Raju&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Wed, 23 Nov 2016 09:54:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>wbober</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Alijaan,&lt;/p&gt;
&lt;p&gt;It looks like a problem with your environment and Contiki rather than with the port itself. I don&amp;#39;t have any experience with VisualGDB, sorry. Perhaps you could try to ask about the issue on Contiki mailing list?&lt;/p&gt;
&lt;p&gt;Kind regards,
Wojtek&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Tue, 22 Nov 2016 14:03:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>All4here</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;hi,
i am using the VisualGDB on windows 10 OS.
i simple download the nrf5_io_sdk and contiki  source code from github.
i try to Run the Hello world. but i got problem in the start.
he give me the error in the &amp;quot;pfs.h&amp;quot;  please check the image.&lt;br /&gt;
&lt;img src="/cfs-file/__key/communityserver-blogs-components-weblogfiles/00-00-00-00-04-DZ-909/3034.contikierror.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;thank you.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Tue, 18 Oct 2016 19:01:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>dimonomid</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Just in case someone experiences troubles with routable ipv6 prefix: for the routable ipv6 prefix to work, I had to execute the following before restarting radvd:&lt;/p&gt;
&lt;pre&gt;sudo ifconfig bt0 add 2001:db8::/64
&lt;/pre&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Sat, 08 Oct 2016 15:21:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>Mike S</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi, Wojtek,&lt;/p&gt;
&lt;p&gt;Thank you for the update. I&amp;#39;m glad you could confirm the issue. I&amp;#39;ll look forward to the revised master branch.
Just FYI, I am using nrfjprog 9.0.0 as you are, and JLINKARM.dll V5.12i. These work with your standard examples, so I hope they will be compatible with any Contiki ports to nRF52.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Mike&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Fri, 07 Oct 2016 08:26:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>wbober</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tested the issue on Ubuntu 15.10 and 16.04 and I can confirm that support for nRF52 in Contiki master branch is indeed broken. For the time being please use nrf52dk-pr branch, from my repo. I&amp;#39;ve tested examples/hello-world and I get a ping reply.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ll look into the issue but I need to first figure out with my team if the task goes to the current or the next sprint.&lt;/p&gt;
&lt;p&gt;Thanks for letting me know about the issue.&lt;/p&gt;
&lt;p&gt;Regards,
Wojtek&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Thu, 06 Oct 2016 12:10:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>wbober</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Mike,&lt;/p&gt;
&lt;p&gt;Thanks for the details. It&amp;#39;s a side issue but could you please check the version of nrfjprog (nrfjprog --version)? I&amp;#39;m using (nrfjprog version: 9.0.0, JLinkARM.dll version: 5.10f) and I haven&amp;#39;t experienced any segfaults, so it would be worthwile to see what&amp;#39;s going on.&lt;/p&gt;
&lt;p&gt;I have a bit of trouble with my BLE HW setup, so I&amp;#39;ll need a day or so before I can test the issue and get back to you. Sorry about that.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s interesting that the IOT SDK examples work but Contiki doesn&amp;#39;t. Perhaps there were some changes introduced in the mainline Contiki which broke the port. You could verify this by using nrf52dk-pr branch from &lt;a rel="nofollow" target="_blank" href="https://github.com/wbober/contiki/tree/nrf52dk-pr"&gt;github.com/.../nrf52dk-pr&lt;/a&gt;. That&amp;#39;s the version of Contiki which was used for writing this blog post.&lt;/p&gt;
&lt;p&gt;To get debug logs, you&amp;#39;ll need to set DEBUG macro to 1 in each module you&amp;#39;d like to debug. Typically the macro is at the top of the source file.&lt;/p&gt;
&lt;p&gt;Note that debug logs might produce quite a lot of output, hence I&amp;#39;d recommend you use RTT logging rather than UART. There is a section on how to enable and use in the platfrom/nrf52dk/README.md.&lt;/p&gt;
&lt;p&gt;Hope this helps.&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Tue, 04 Oct 2016 22:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>Mike S</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi, Wojtek,&lt;/p&gt;
&lt;p&gt;I&amp;#39;m running Ubuntu 16.04, linux kernel 4.7.2. (I get the same results with 4.6.2).
I&amp;#39;m using Contiki loaded as described above, and the nrf5x-sdk described above, including the IOT SDK 0.9. (Is 1.0 coming soon?)&lt;/p&gt;
&lt;p&gt;Both the hello-world and coap-server examples compile fine. I do get a segmentation fault when I try the make TARGET=nrf52dk erase commant; I just use nRF studio on a windows pc to erase it.
Writing the softdevice works fine. Writing the programs seems to work fine. Both programs show messages on the terminal indicating they started and are running, and the advertising light is blinking.&lt;/p&gt;
&lt;p&gt;I can see the pca10040 board with lescan, and can connect. When running the Contiki examples, I get a &amp;quot;serious problem occurred&amp;quot; warning from Ubuntu right after connecting. The board shows the &amp;quot;connected&amp;quot; light, but does not respond to pings.&lt;/p&gt;
&lt;p&gt;With exactly the same configuration, I go to the nrf5x-sdk directory, and go to the examples. (I have used these many times on the windows side with no problems.) I compile the coap-server, and flash it with nrfjprog. The board advertises, I can connect (the LED2 comes on), and I can run a COAP-client with FireFox-Cu and it runs fine.&lt;/p&gt;
&lt;p&gt;Is there a Contiki Coap-server with more diagnostics? For example, send a message to the terminal with the connection status, or a message when a ping arrives. I have also used the commanc iftop -i bt0 to look at the packets going back and forth. The standard example show the pca10040 address responding, the Contiki examples show nothing coming back.&lt;/p&gt;
&lt;p&gt;I hope this helps narrow down the possible problem.&lt;/p&gt;
&lt;p&gt;Thank you,
Mike&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item><item><title>RE: Setting up IPv6 over BLE using nRF52 Series and Contiki OS</title><link>https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-co</link><pubDate>Mon, 03 Oct 2016 14:26:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d11ef8-1b0a-487a-aae1-1b6e0dab571d</guid><dc:creator>wbober</dc:creator><slash:comments>0</slash:comments><description>&lt;p&gt;Hi Mike S,&lt;/p&gt;
&lt;p&gt;It should work out of the box. I&amp;#39;ll go through the example and let you know. In the meantime can you please provide more information about your setup (kernel version and os, iot sdk version, dk version, etc)? Basically anything that might help to trace the issue?&lt;/p&gt;
&lt;p&gt;Regards,
Wojtek&lt;/p&gt;
&lt;img src="https://devzone.nordicsemi.com/aggbug?PostID=937&amp;AppID=4&amp;AppType=Weblog&amp;ContentType=0" width="1" height="1"&gt;</description></item></channel></rss>