<?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>Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/103553/unable-to-receive-udp-messages-when-thread-is-active</link><description>Hi, 
 I built a Thread Network using two nRF52840-DKs with the OpenThread CLI sample written. After making each thread active, we opened a UDP socket and sent a message to the multicast address (ff02::1). At this time, no log indicating reception was</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Oct 2023 02:12:29 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/103553/unable-to-receive-udp-messages-when-thread-is-active" /><item><title>RE: Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/thread/452908?ContentTypeID=1</link><pubDate>Mon, 30 Oct 2023 02:12:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:82a481ad-fafa-4946-a033-a5199f5ce75a</guid><dc:creator>Yuma</dc:creator><description>&lt;p&gt;Hello Maria,&lt;/p&gt;
&lt;p&gt;Thank you for your explanation.&lt;br /&gt;I understand about Link security.&lt;/p&gt;
&lt;p&gt;Since the original question was resolved too, this ticket will be closed.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Yuma&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/thread/452632?ContentTypeID=1</link><pubDate>Thu, 26 Oct 2023 14:19:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cd1d742c-56af-455a-884d-fd58f9f05fe1</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hi Yuma,&lt;/p&gt;
&lt;p&gt;Link security is required when a message needs to go through another node to reach its destination. The only time link security is allowed to be disabled is when there is a direct link between the transmitter and destination and the destination node allows unsecured messages.&lt;/p&gt;
&lt;p&gt;You can also see these two answers in the OpenThread forum for some more information:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://groups.google.com/g/openthread-users/c/t_cWwuH5P4Y/m/lTGWAcrRAwAJ"&gt;https://groups.google.com/g/openthread-users/c/t_cWwuH5P4Y/m/lTGWAcrRAwAJ&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;&lt;a href="https://groups.google.com/g/openthread-users/c/iS_4MRlc9zo/m/2Y5GjAO7AAAJ"&gt;https://groups.google.com/g/openthread-users/c/iS_4MRlc9zo/m/2Y5GjAO7AAAJ&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/thread/450948?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2023 05:48:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2610c3bb-78c2-49d2-98e4-aa08d7c1004d</guid><dc:creator>Yuma</dc:creator><description>&lt;p&gt;Hello Maria,&lt;/p&gt;
&lt;p&gt;I tested with disable linksecurity and&amp;nbsp;I have confirmed that we can successfully receive UDP messages addressed to ff04::3:0.&lt;br /&gt;Thank you for your support.&lt;/p&gt;
&lt;p&gt;However, there are two things I don&amp;#39;t understand, so please let me know.&lt;/p&gt;
&lt;p&gt;1. What effect does the linksecurity setting have?&lt;br /&gt;2. When linksecurity is set to enabled, it is not possible to receive data unless the thread is inactive. Is this the expected behavior?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Yuma&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/thread/450916?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2023 19:37:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bcffbb27-6361-40c3-909e-ba7729f875c5</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello Yuma,&lt;/p&gt;
&lt;p&gt;I have two possible explanations:&lt;/p&gt;
&lt;p&gt;The link security needs to be enabled to receive messages. &lt;strong&gt;Either refrain from executing the linksecurity disable command or execute linksecurity enable before sending a message from the transmitter.&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;The receiver needs to be in the &lt;a href="https://github.com/openthread/openthread/blob/main/src/cli/README.md#neighbor-table"&gt;neighbor table&lt;/a&gt; of the transmitting node to be able to receive on the link-local multicast address. &lt;strong&gt;Add the receiver to the neighbor table of the transmitter to test this. &lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Let me know if either solution fixes your issue.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/thread/449946?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 04:20:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:916a6480-ad61-4f49-83fe-907bd5b6e0e9</guid><dc:creator>Yuma</dc:creator><description>&lt;p&gt;Hello, Maria,&lt;/p&gt;
&lt;p&gt;Thank you for your help.&lt;br /&gt;I guess I&amp;#39;ll wait a little longer.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Yuma&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/thread/449153?ContentTypeID=1</link><pubDate>Fri, 06 Oct 2023 11:27:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dece3e7-23d4-4e36-aef5-99547390479d</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello Yuma,&lt;/p&gt;
&lt;p&gt;I have forwarded my question to the developers. I hope to have an answer very soon.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/thread/448435?ContentTypeID=1</link><pubDate>Mon, 02 Oct 2023 06:34:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19758af0-8bac-49bd-8511-c84713500517</guid><dc:creator>Yuma</dc:creator><description>&lt;p&gt;Hello Maria,&lt;/p&gt;
&lt;p&gt;Thank your for your support.&lt;br /&gt;I&amp;#39;m waiting until I get the answer.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Yuma&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/thread/447263?ContentTypeID=1</link><pubDate>Fri, 22 Sep 2023 14:06:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:704c0da3-a539-4b7f-a227-346716ba2864</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello Yuma,&lt;/p&gt;
&lt;p&gt;Thank you for your patience. I have asked for some help from my colleagues, and will update this ticket when I know more.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/thread/445188?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2023 15:35:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:99b2b2ae-2d5c-49c8-8a4f-b69e407e34e2</guid><dc:creator>Yuma</dc:creator><description>&lt;p&gt;Hello Maria,&lt;/p&gt;
&lt;p&gt;Thank you for your assist.&lt;/p&gt;
&lt;p&gt;The nRF Connect SDK version I&amp;#39;m using is v2.3.0.&lt;br /&gt;It would be helpful if you could contact us as soon as you know the cause and solution.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Yuma&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Unable to receive UDP messages when thread is active.</title><link>https://devzone.nordicsemi.com/thread/445173?ContentTypeID=1</link><pubDate>Fri, 08 Sep 2023 14:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60d325a1-904c-4786-85cd-d51ae0ea43c7</guid><dc:creator>Maria Gilje</dc:creator><description>&lt;p&gt;Hello Yuma,&lt;/p&gt;
&lt;p&gt;I am not sure if it should be possible to receive UDP packets when Thread is running, but I will research to find out.&lt;/p&gt;
&lt;p&gt;After my initial search, I wonder if you have to bind to the multicast address ff02::1 to be able to receive the UDP messages while Thread is running.&lt;/p&gt;
&lt;p&gt;Please tell med which nRF Connect SDK version you are using. I can try to reproduce and search for a solution/explanation.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Maria&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>