<?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>ZIGBEE ZED never send keepalive packet.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70733/zigbee-zed-never-send-keepalive-packet</link><description>CHIP: nRF52840 
 SDK: Thread and Zigbee 4.1.0 
 SD: s140 using multiprotocol 
 
 Hi, I have developed zigbee end device. 
 The communication with the coordinator has be done. (joining network, receive, transmit cmds) 
 I want to know that the coordinator</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Feb 2021 13:01:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70733/zigbee-zed-never-send-keepalive-packet" /><item><title>RE: ZIGBEE ZED never send keepalive packet.</title><link>https://devzone.nordicsemi.com/thread/292476?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 13:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:76d87dfe-0a12-431d-a0e7-4cebc92f1654</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;&lt;span&gt;Why zigbee stack doesn&amp;#39;t wake up itself?&amp;quot;?. What I wrote in my last reply is related to the end device and how it lets its parent know that it&amp;#39;s still alive. This is something you can implement in your application yourself, and it&amp;#39;s used in examples already in the SDK as well, if you want to look at how this is done.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;zb_sleep_set_threshold() is used to set the minimum sleep duration value. This sleep threshold is compared with how long the end device&amp;nbsp;has been inactive and is used to decide whether the end device can go to sleep or not (&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__zb__comm__signals.html#gga0cc1e5b86eb76f9d1ca09011c6fe245aa4264f710927926de104d728e607cac89"&gt;ZB_COMMON_SIGNAL_CAN_SLEEP&lt;/a&gt;&amp;nbsp;is generated).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;zb_set_ed_timeout is the end device timeout, and is used to specify the end device timeout period. If the parent of the end device does not receive any keep alive messages from the child during this period, the child will be deleted from the neighbor table. zb_set_keepalive_timeout is how often the end device polls its parent, that is, how often it sends a keep alive message to its parent.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Marte&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZIGBEE ZED never send keepalive packet.</title><link>https://devzone.nordicsemi.com/thread/290931?ContentTypeID=1</link><pubDate>Mon, 25 Jan 2021 07:58:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bc3885ec-1fdd-45ed-a550-398a3558faa6</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;Hi, Thanks for the reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I find the solution to send keepalive msg using app_timer repeat mode.&lt;/p&gt;
&lt;p&gt;Why zigbee stack doesn&amp;#39;t wake up itself?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;What purpose is (zb_sleep_set_threshold) function?&lt;/p&gt;
&lt;p&gt;I already called &amp;quot;zb_sleep_set_threshold(20)&amp;quot; which I expected to wake up every 20 ms.&lt;/p&gt;
&lt;p&gt;and What is different between (&lt;span&gt;zb_set_ed_timeout) and (zb_set_keepalive_timeout)?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;And I have other troubles. please visit &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/70857/zigbee-zed-lost-connection-param-data"&gt;this page&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ZIGBEE ZED never send keepalive packet.</title><link>https://devzone.nordicsemi.com/thread/290652?ContentTypeID=1</link><pubDate>Fri, 22 Jan 2021 07:26:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d050d5fe-c428-432c-9f65-01c08e4517e5</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The end device should send a keep alive message to their parent when you have set an end device timeout (zb_set_ed_timeout) and a keep alive timeout (zb_set_keepalive_timeout) on the end device side. Does the parent device delete the end device from the neighbor table when the device fails to send a keep alive message in your project?&lt;/p&gt;
&lt;p&gt;Have you tried to increase the end device timeout to see if the end device is able to send a keep alive message in time then? Your timeout should be long enough as it is, as the recommended is that the end device sends 3 keep alive messages during the end device timeout period, but it could help to try.&lt;/p&gt;
&lt;p&gt;Could you please share your sniffer log (as a pcap file), so I can have a look at it?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>