<?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>Problem with CoAP Examples based on LWIP stack (no suitable source address was found)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/61842/problem-with-coap-examples-based-on-lwip-stack-no-suitable-source-address-was-found</link><description>Dear Nordic Team, 
 I use a custom dev board with the nRF52832 SoC and the nRF5 SDK v16.0.0. 
 I need CoAP functionality for my project. I managed to get the CoAP Examples based on Nordics IPV6 Stack up and running. 
 But the CoAP Examples, which are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 29 May 2020 09:13:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/61842/problem-with-coap-examples-based-on-lwip-stack-no-suitable-source-address-was-found" /><item><title>RE: Problem with CoAP Examples based on LWIP stack (no suitable source address was found)</title><link>https://devzone.nordicsemi.com/thread/252333?ContentTypeID=1</link><pubDate>Fri, 29 May 2020 09:13:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0bd7ee7-c133-4b90-b86c-682bb68be18f</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;No worries. I&amp;#39;m glad it worked out!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with CoAP Examples based on LWIP stack (no suitable source address was found)</title><link>https://devzone.nordicsemi.com/thread/252288?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 21:47:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e52cc422-1265-4f89-8a1a-d032125d7ac2</guid><dc:creator>Michael Kreher</dc:creator><description>&lt;p&gt;Hi Stian,&lt;/p&gt;
&lt;p&gt;as you suggested I used 2001:db8::1/64 as prefix and now it works fine :-)&lt;/p&gt;
&lt;p&gt;The problem was that I used the prefix fd00:a::/64 instead of&amp;nbsp;&lt;span&gt;2001:db8::/64.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;IPv6 is pretty new for me, so my mistake.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for your help!&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with CoAP Examples based on LWIP stack (no suitable source address was found)</title><link>https://devzone.nordicsemi.com/thread/252165?ContentTypeID=1</link><pubDate>Thu, 28 May 2020 12:01:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a817e64-b30d-4213-a553-2d7917ef666d</guid><dc:creator>Stian R&amp;#248;ed Hafskjold</dc:creator><description>&lt;p&gt;Hi, most likely the lwIP stack does not get a global prefix. Have you set up radvd correctly and added the global prefix to the bt0 interface? From the output of ifconfig it seems like it&amp;#39;s missing the global prefix. It has to be added to the bt0 interface each time you reconnect.&lt;/p&gt;
&lt;p&gt;f.ex:&lt;/p&gt;
&lt;p&gt;&lt;code&gt;ifconfig -a bt0 add 2001:db8::1/64&lt;/code&gt;&lt;/p&gt;
&lt;p&gt;Also wireshark logs help a lot in debugging this. It&amp;#39;s a great tool, I would recommend using that for debugging.&lt;code&gt;&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>