<?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>IoT UDP client can not communicate with server by using global IPv6</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/7258/iot-udp-client-can-not-communicate-with-server-by-using-global-ipv6</link><description>Hi All, 
 I am using the nrf_udp_client example project in IoT SDK as the code base for testing the UDP communication. 
 For network topology, the nrf51-DK plays the role of UDP client,
and the Pi as a router, which connects directly to the PC through</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 May 2015 15:47:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/7258/iot-udp-client-can-not-communicate-with-server-by-using-global-ipv6" /><item><title>RE: IoT UDP client can not communicate with server by using global IPv6</title><link>https://devzone.nordicsemi.com/thread/25662?ContentTypeID=1</link><pubDate>Tue, 26 May 2015 15:47:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b331306f-4d65-4160-bd8f-73223e0076e4</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;You can also try to install Wireshark on the PC and sniff your Local Area Connection. To see if the IPv6 packets are getting there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IoT UDP client can not communicate with server by using global IPv6</title><link>https://devzone.nordicsemi.com/thread/25660?ContentTypeID=1</link><pubDate>Tue, 26 May 2015 15:38:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7904651f-eb68-48ed-ad17-e40dfb941bf4</guid><dc:creator>Rick Zhong</dc:creator><description>&lt;p&gt;Hi Petter,&lt;/p&gt;
&lt;p&gt;Thanks for your reply,&lt;/p&gt;
&lt;p&gt;By using the tshark to trace the packets flow, seems nrf51-DK trying to send the packet to the correct globla address of the PC eth0, but it does not receive any response.
I will continue examine every step I made and keep updating : )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IoT UDP client can not communicate with server by using global IPv6</title><link>https://devzone.nordicsemi.com/thread/25664?ContentTypeID=1</link><pubDate>Tue, 26 May 2015 15:35:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72af65d7-363e-48f6-b90f-59b11cb3391d</guid><dc:creator>Rick Zhong</dc:creator><description>&lt;p&gt;Hi Jun Qing,&lt;/p&gt;
&lt;p&gt;Thanks for your kindly reply,&lt;/p&gt;
&lt;p&gt;I also found that whether add icmp6_rs_send() or not,&lt;/p&gt;
&lt;p&gt;PC can ping the nrf51-DK using global ipv6(2005:XX...)after the add the ipv6 prefix through ifconfig.&lt;/p&gt;
&lt;p&gt;When setting the nrf51-DK UDP server ip address to Pi, the netcat can show the correct UDP message.&lt;/p&gt;
&lt;p&gt;But when I setting the server ip address to the PC with global ipv6 address, the netcat doesn&amp;#39;t show up anything.&lt;/p&gt;
&lt;p&gt;The UDP socket communication between the Pi and PC seems correct, the firewall setting shutdown for the testing.&lt;/p&gt;
&lt;p&gt;I will keep update the debug  processing.&lt;/p&gt;
&lt;p&gt;Really appreciate for your kindly advice : )&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IoT UDP client can not communicate with server by using global IPv6</title><link>https://devzone.nordicsemi.com/thread/25661?ContentTypeID=1</link><pubDate>Tue, 26 May 2015 09:18:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90806ba9-1a44-4c44-b964-751e3d368676</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Are you able to ping the IPv6 address of the PC? Have you tried to sniff the different interfaces on the RPi? I&amp;#39;m using &lt;a href="https://www.youtube.com/watch?v=WMbNT82OZgQ"&gt;tshark&lt;/a&gt;. Try doing a &amp;quot;tshark -I bt0&amp;quot; and see if the IPv6 packet is sent with the correct addresses.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: IoT UDP client can not communicate with server by using global IPv6</title><link>https://devzone.nordicsemi.com/thread/25663?ContentTypeID=1</link><pubDate>Tue, 26 May 2015 01:22:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4289495-8929-420a-8e42-1b68ceab1446</guid><dc:creator>Jun Qing ZOU</dc:creator><description>&lt;p&gt;Hi Rick!&lt;/p&gt;
&lt;p&gt;This example is designed to use link-local addresses only so there is no call of icmp6_rs_send() in the code. If you have updated the code to send Router Solicition and thus get global address allocated (it seems so as your ping OK), you may try the &amp;quot;netcat&amp;quot; command on Raspberry Pi first. Example of usage,&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;nc -6 -l 5911 -u -v&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;You might need to update the code to tell the client what&amp;#39;s your R.Pi&amp;#39;s global address.&lt;/p&gt;
&lt;p&gt;For PC, you&amp;#39;ll have to make Windows to allow the incoming UDP connection in firewall setting (inbound rules).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>