<?xml version="1.0" encoding="UTF-8" ?>
<?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/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Communicate between two nfr52dk devices via IPv6</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/38946/communicate-between-two-nfr52dk-devices-via-ipv6</link><description>Hello, 
 
 Setup: Running Ubuntu 18.04 inside Windows Host (using VMWare). 
 Device: nrf52840DK 
 Operating System (used for development): RIOT 
 I would like to communicate between two nrf52dk devices. I would like to use IPv6 for the same. 
 
 I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Oct 2018 06:23:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/38946/communicate-between-two-nfr52dk-devices-via-ipv6" /><item><title>RE: Communicate between two nfr52dk devices via IPv6</title><link>https://devzone.nordicsemi.com/thread/151948?ContentTypeID=1</link><pubDate>Mon, 08 Oct 2018 06:23:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83f01d43-0014-4c9a-8606-0404715ed9a3</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.2.0%2Fiot_getting_started.html"&gt;This one&lt;/a&gt;, and &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.2.0%2Fiot_sdk_app_coap_server.html&amp;amp;anchor=iot_sdk_app_coap_server_test" rel="noopener noreferrer" target="_blank"&gt;this one&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;These are (some of) the guides for our IoT SDK.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate between two nfr52dk devices via IPv6</title><link>https://devzone.nordicsemi.com/thread/151882?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 18:59:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e03ff8c-fd71-4212-a40a-bc180f121ad3</guid><dc:creator>Navneet</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/edvin-holmseth"&gt;Edvin&lt;/a&gt;,&amp;nbsp;&lt;/p&gt;
[quote userid="26071" url="~/f/nordic-q-a/38946/communicate-between-two-nfr52dk-devices-via-ipv6/151754"]You can do this by following the guides that I have linked.[/quote]
&lt;p&gt;Which link are you referring to here?&lt;/p&gt;
&lt;p&gt;And Sure, I will contact RIOT, if they can suggest a way.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate between two nfr52dk devices via IPv6</title><link>https://devzone.nordicsemi.com/thread/151754?ContentTypeID=1</link><pubDate>Fri, 05 Oct 2018 06:38:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2bacb776-313d-4acf-8eaa-a8917c8a720c</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;The protocols that are supported on the nRF52840 chip is BLE, 802.15.4, or you can use the radio in proprietary mode (check out the SDK\examples\proprietary_rf\esb_[rx/tx], which uses the raw radio module. However, I am not sure if you would be able to communicate with a computer with this protocol.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I assume that you are not interrested in Thread or Zigbee, since you don&amp;#39;t want any other extra layers in between.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want to ping the devices, you must give them an IP address. You can do this by following the guides that I have linked.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;nbsp;&lt;strong&gt;assume&lt;/strong&gt; that RIOT is the part that you have flashed on the DKs. Sorry for being repetative, but I am not familiar with it. If so, I suggest that you check with the guys who wrote RIOT, or at least the nRF port for RIOT, if you want to know how to use it with the nRF.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate between two nfr52dk devices via IPv6</title><link>https://devzone.nordicsemi.com/thread/151728?ContentTypeID=1</link><pubDate>Thu, 04 Oct 2018 19:53:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a911c9ea-baba-4262-99c8-bb0abc8a511b</guid><dc:creator>Navneet</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/edvin-holmseth"&gt;Edvin&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I flashed&amp;nbsp;&lt;span style="font-family:inherit;"&gt;a code which I wrote (for RIOT OS) for a handshake&amp;nbsp;between client and server.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sorry, this may be repetitive, but I feel I do not have a clear answer.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;quot;is there a way to communicate between the two nRF52DK&lt;/strong&gt;&lt;strong&gt;&amp;nbsp;devices without using BLE or any&amp;nbsp;other extra layers in between&amp;quot;?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;If not, is&amp;nbsp;it because nRF52DK does not support ethernet?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Note: I do not wish to be connected to the internet, I just need an IP address and I would like to communicate via that.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate between two nfr52dk devices via IPv6</title><link>https://devzone.nordicsemi.com/thread/151153?ContentTypeID=1</link><pubDate>Tue, 02 Oct 2018 07:41:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:30848852-05a7-4541-99c6-ed6b601c6e9e</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I don&amp;#39;t know what RIOT lists. It is not something we are familiar with. The blog post that you refer to isn&amp;#39;t written by us.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What did you flash the nRF boards with?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you want to use 802.15.4, we have the Thread and Zigbee SDKs. I wouldn&amp;#39;t classify these as a minimal networking stack, though.&lt;/p&gt;
&lt;p&gt;The other examples that we have are in the normal SDK (link in previous reply).&lt;/p&gt;
&lt;p&gt;Here is a general guide on how to set up 6LoWPAN:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.2.0%2Fiot_getting_started.html"&gt;http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.2.0%2Fiot_getting_started.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;There are some &amp;quot;how to&amp;quot; guides to get started in the bottom of the examples. Here is the example for CoAP:&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.2.0%2Fiot_sdk_app_coap_server.html&amp;amp;anchor=iot_sdk_app_coap_server_test"&gt;http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v15.2.0%2Fiot_sdk_app_coap_server.html&amp;amp;anchor=iot_sdk_app_coap_server_test&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate between two nfr52dk devices via IPv6</title><link>https://devzone.nordicsemi.com/thread/151044?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 16:35:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8335d1f-0e07-4b5c-9a85-3eb8a79ce2be</guid><dc:creator>Navneet</dc:creator><description>&lt;p&gt;So, what kind of gateway support are we talking about for &amp;#39;802.15.4&amp;#39;?&lt;/p&gt;
&lt;p&gt;For BLE, I found the following article (did not work for me though):&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-ri"&gt;https://devzone.nordicsemi.com/b/blog/posts/setting-up-ipv6-over-ble-using-nrf52-series-and-ri&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And is this not ideal for what I am doing. I need to have minimal networking stack (in this case it would be BLE + networking&amp;nbsp;stack.).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Also, in the picture below:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1538411492477v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The device logs the IPv6 addresses (generated by &amp;quot;ifconfig&amp;quot;&amp;nbsp;command). Are these dummy IPs or something else? Because&amp;nbsp;I am not able to ping these addresses. I receive an &amp;quot;invalid argument&amp;quot; error when I try to do so. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate between two nfr52dk devices via IPv6</title><link>https://devzone.nordicsemi.com/thread/150890?ContentTypeID=1</link><pubDate>Mon, 01 Oct 2018 08:03:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab34c4dc-c618-4f88-b461-07961f0e66b8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;The Nordic nRF52840 does not support Ethernet. There are some ways of connecting the nRFs to the internet, but I am only familiar with our IOT examples from our &lt;a href="http://developer.nordicsemi.com/nRF5_SDK/nRF5_SDK_v15.x.x/"&gt;SDK&lt;/a&gt;, and the Thread or Zigbee examples from our &lt;a href="https://www.nordicsemi.com/eng/Products/nRF5-SDK-for-Thread"&gt;Thread SDK&lt;/a&gt;. Maybe you want to take a look at those.&lt;/p&gt;
&lt;p&gt;The radio on the nRF is not Wifi compatible. Only BLE and 802.15.4, so you need a gateway that supports one of these, and some internet connectivity (WiFi or Ethernet) to act as a bridge between the nRFs and the IP protocol.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate between two nfr52dk devices via IPv6</title><link>https://devzone.nordicsemi.com/thread/150756?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 15:26:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89914cb6-94fb-49bf-bdd7-95164c8bd3b9</guid><dc:creator>Navneet</dc:creator><description>&lt;p&gt;No, the network stack is GNRC, default one present in RIOT OS.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This is something which I wrote. But, the code is not the issue. I tried using Tutorial tasks from RIOT OS, even they did not work.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;The issue here is that I am not able to communicate between 2 nrf52dk devices. &lt;/strong&gt;The examples/screenshots are just a reference.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Please discard example from the problem, if they are confusing you. &lt;strong&gt;Please help me&amp;nbsp;identify a way how can I communicate&amp;nbsp;between the two devices using a local IP address. That&amp;#39;s it.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Communicate between two nfr52dk devices via IPv6</title><link>https://devzone.nordicsemi.com/thread/150726?ContentTypeID=1</link><pubDate>Thu, 27 Sep 2018 13:27:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:015a17cb-6239-4962-b85c-a156d1f8db01</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry. Is this OpenThread? Is it one of our example applications? Just not sure exactly what I am looking at here. Could you please specify?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>