<?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>Thread connection check on SED</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25270/thread-connection-check-on-sed</link><description>Hi!
I am developing application for thread on NRF52840. I&amp;#39;ve got one problem with connection stability. Sometimes some SED nodes are disappearing. Only reset makes them to renew the connection. My nodes are connecting as children to mesh, going to sleep</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 19 Sep 2017 07:05:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25270/thread-connection-check-on-sed" /><item><title>RE: Thread connection check on SED</title><link>https://devzone.nordicsemi.com/thread/99581?ContentTypeID=1</link><pubDate>Tue, 19 Sep 2017 07:05:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efe7a1ce-b45c-4565-b894-a79ecdb3d2ad</guid><dc:creator>Wojtek</dc:creator><description>&lt;p&gt;Hello!&lt;/p&gt;
&lt;p&gt;Thanks for fast answer. Yes, I&amp;#39;m using Topology Monitor. I&amp;#39;ll do some experiments with poll period and child timeout. I&amp;#39;ve previously set child timeout a liitle longer that my rtc wakeup. Is it correct? Is poll period important when using SED only for data send via UDP?&lt;/p&gt;
&lt;p&gt;Best regards, Wojciech Rzepecki&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Thread connection check on SED</title><link>https://devzone.nordicsemi.com/thread/99580?ContentTypeID=1</link><pubDate>Mon, 18 Sep 2017 20:10:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:878a58c5-dee0-4335-a0fe-8b82bbe07700</guid><dc:creator>Lukasz Duda</dc:creator><description>&lt;p&gt;Hello Wojciech!&lt;/p&gt;
&lt;p&gt;Glad to hear about your project!&lt;/p&gt;
&lt;p&gt;First of all, how do you know that SED nodes are disappearing? Do you check it in Thread Topology Monitor, or nodes suddenly stop communicate e.g. with the cloud?&lt;/p&gt;
&lt;p&gt;When it comes to SED there are two important parameters:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Polling period - which is the interval to perform 802.15.4 Data Poll Request. See: &lt;code&gt;otLinkSetPollPeriod&lt;/code&gt; function.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;As you probably know, when parent node wants to send message to a SED child, it has to wait for 802.15.4 Data Poll Request from its child. So this parameter defines the responsiveness of delivering packets to the SED. Poll period can be changed dynamically, e.g. when you expect to receive some message quickly you can reduce the poll period, and after it is received you can restore longer poll period.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Child Timeout - this is time register by SED to its parent, after which the child is timeouted (and removed) if 802.15.4 Data Poll Request is not sent within this time. And so it should be longer than poll period.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;See: &lt;code&gt;otThreadSetChildTimeout&lt;/code&gt; function.&lt;/p&gt;
&lt;p&gt;I guess if you expirience such disconnections it might be incorrect setting of MLE Child Timeout.&lt;/p&gt;
&lt;p&gt;Please look at &lt;code&gt;role_change_handler&lt;/code&gt; function inside &lt;code&gt;examples\thread\experimental\simple_coap_server\main.c&lt;/code&gt; file in our SDK to check how to manage role change (also to know when node disconnects - &lt;code&gt;OT_DEVICE_ROLE_DETACHED&lt;/code&gt;).&lt;/p&gt;
&lt;p&gt;If the problem is not related with the MLE Child Timeout, can you provide any sniffer logs, RTT OpenThread logs etc. to us?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>