<?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>Pinging between two nRF52 DK with Link-local ipv6 addresses</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/55672/pinging-between-two-nrf52-dk-with-link-local-ipv6-addresses</link><description>Hi everyone, 
 I am using nRF52 DK with 52832 on it. My current SDK version is 15.2.0. I know that for IoT applications there is external hardware needed as router like RPi. However, I thought to do that upon establishing BLE and IPSP connection with</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 20 Dec 2019 16:43:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/55672/pinging-between-two-nrf52-dk-with-link-local-ipv6-addresses" /><item><title>RE: Pinging between two nRF52 DK with Link-local ipv6 addresses</title><link>https://devzone.nordicsemi.com/thread/226632?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 16:43:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e14fb9cd-9dc1-4ecf-a87e-2213549d5cad</guid><dc:creator>Halil</dc:creator><description>&lt;p&gt;Dear Terje,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much for your answer. I got the point you mentioned. I will try to implement the RPi side on the nRF side for replacing RPi.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Halil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pinging between two nRF52 DK with Link-local ipv6 addresses</title><link>https://devzone.nordicsemi.com/thread/226614?ContentTypeID=1</link><pubDate>Fri, 20 Dec 2019 14:46:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5fe17425-f8ff-4c03-82da-7fb7f22cbee5</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;We are entering holiday season and key personnel from the IoT team have already started their vacation. That means I cannot verify my answers, but this is my understanding of the matter:&lt;/p&gt;
&lt;p&gt;The protocols used for providing network connectivity for the nRF52832, in the SDK, are intended for connecting the nRF52832 to a bigger network. The protocols are asymmetric, most notably because the BLE connection (over which the network connection is made) is asymmetric. (In a BLE connection, one end is Central and the other end is Peripheral.) This means the implementation on the nRF end differs from the implementation on the RPi end.&lt;/p&gt;
&lt;p&gt;In addition to the BLE connection having different implementations in each end, so does e.g. 6LoWPAN. In the SDK, we have implemented the parts that would be on the nRF side, when connecting to e.g. an RPi. If you want to use the same technology, but exchange the RPi for an nRF device, that means you must implement the &amp;quot;usually at the RPi side&amp;quot; parts of the protocols yourself, as it is not provided in our SDK.&lt;/p&gt;
&lt;p&gt;To conclude, if you need traffic directly from one nRF to another nRF, on a direct link, the best option may be to just use BLE. If you need TCP/IP communication you either need to make the implementation yourself, or use an RPi (or other network device) that both nRF devices connect to. (When both nRF devices are connected to the routing device, the nRF devices can send packets to each other as normal. The routing device (e.g. RPi) do not need to be connected to a larger network.)&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pinging between two nRF52 DK with Link-local ipv6 addresses</title><link>https://devzone.nordicsemi.com/thread/226448?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 21:06:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:848c4f61-58c1-4008-8fdf-106a83e10258</guid><dc:creator>Halil</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I meant a direct link without connection to an external network. I aimed TCP/IP communication between two nRF52 DKs after establishing a physical and link-layer connection and an IPSP connection. The communication will take place in the local network and on the direct link. I do not want the network to be visible to outside. The&amp;nbsp;link-local IPv6 addresses obtained from MAC addresses of the devices will be used&amp;nbsp; (FE80::2). No need for router advertisement and solicitation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Halil&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pinging between two nRF52 DK with Link-local ipv6 addresses</title><link>https://devzone.nordicsemi.com/thread/226372?ContentTypeID=1</link><pubDate>Thu, 19 Dec 2019 12:53:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1faf686-c59a-426c-abac-1d77c5476e9f</guid><dc:creator>tesc</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you mean that the network connection between the nRF52 devices is a single, direct link, with no other network equipment involved at all?&lt;/p&gt;
&lt;p&gt;Or, that both nRF52 devices are connected to an external network, but the pinging happens from one nRF52 to the other?&lt;/p&gt;
&lt;p&gt;Or, something different?&lt;/p&gt;
&lt;p&gt;Regards,&lt;br /&gt;Terje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pinging between two nRF52 DK with Link-local ipv6 addresses</title><link>https://devzone.nordicsemi.com/thread/225923?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2019 14:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9cdaa6b8-ed50-41d6-8778-7fb24edd9c84</guid><dc:creator>Halil</dc:creator><description>&lt;p&gt;Dear Stian,&lt;/p&gt;
&lt;p&gt;Thanks for the detailed answer. However, I asked to learn whether it is possible to send ping between two nRF52s after IPSP and LwIP connection. I aim not to use&amp;nbsp;a router device like RPi sending ping will be&amp;nbsp;between nRF52s without any external hardware.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Pinging between two nRF52 DK with Link-local ipv6 addresses</title><link>https://devzone.nordicsemi.com/thread/225908?ContentTypeID=1</link><pubDate>Tue, 17 Dec 2019 13:50:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afcd3ee2-69ea-4765-a8e3-f66e6bcd7c4c</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, you can always use the link local address, fe80::. This is what is always negotiated during connection, and it&amp;#39;s created from the device MAC address. To get a global address you must run a server that sends out router advertisement messages with the global prefix, for example &amp;quot;radvd&amp;quot;.&lt;/p&gt;
&lt;p&gt;Please follow the user guide for setting up a RPi.&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/iot_ug_border_router.html?cp=6_1_5_5_0"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v16.0.0/iot_ug_border_router.html?cp=6_1_5_5_0&lt;/a&gt;&amp;nbsp; You do not need to compile a new kernel, as stated in the user guide, because the newest Raspbian has everything that is needed. You can skip the part about &amp;quot;distributing a global IPv6 prefix&amp;quot; If you just want to use the link-local address.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>