<?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>Continuous leave request with rejoin from Zigbee coordinator</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/106684/continuous-leave-request-with-rejoin-from-zigbee-coordinator</link><description>Hello, 
 I&amp;#39;m working on nRF5240 using nrf5 SDK for thread and Zigbee v4.2.0. In current setup I have only two devices in the network: 
 
 Nordic as Zigbee coordinator 
 Third-party sleepy end-device that requires unencrypted network and isn&amp;#39;t completely</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Mar 2024 10:23:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/106684/continuous-leave-request-with-rejoin-from-zigbee-coordinator" /><item><title>RE: Continuous leave request with rejoin from Zigbee coordinator</title><link>https://devzone.nordicsemi.com/thread/472901?ContentTypeID=1</link><pubDate>Fri, 08 Mar 2024 10:23:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7401456-6deb-4fa7-9964-0eb557d4bb8b</guid><dc:creator>Laura M</dc:creator><description>&lt;p&gt;Hi Marte,&lt;/p&gt;
&lt;p&gt;Thank you for your replies.&lt;/p&gt;
&lt;p&gt;As you said the coordinator is probably sending this leave request &lt;span&gt;because the device is doing something that is not according to the specification. We&amp;#39;ve chosen a completely different implementation to address the issue, now ZBOSS is not processing any more packets from this device.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Laura&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Continuous leave request with rejoin from Zigbee coordinator</title><link>https://devzone.nordicsemi.com/thread/469583?ContentTypeID=1</link><pubDate>Mon, 19 Feb 2024 14:54:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeed210d-caa4-407a-bdd9-c7d85cb7e4d3</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Laura,&lt;/p&gt;
&lt;p&gt;I have been looking into this, but I have not figured out the issue yet.&lt;/p&gt;
&lt;p&gt;Do you have application logs from the coordinator as well?&lt;/p&gt;
&lt;p&gt;I also see a lot of communication from other devices in the sniffer log. Do you see the same behavior if you test in a less noisy environment?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Continuous leave request with rejoin from Zigbee coordinator</title><link>https://devzone.nordicsemi.com/thread/468678?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 15:20:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43209fc0-5904-4925-a44a-da911349c363</guid><dc:creator>Laura M</dc:creator><description>&lt;p&gt;Hello Marte,&lt;/p&gt;
&lt;p&gt;sorry for the late reply.&lt;/p&gt;
&lt;p&gt;While trying to replicate the issue I realized that it may be related to orphan join procedure. The issue is easily reproducible if the device uses this procedure.&lt;/p&gt;
&lt;p&gt;This device has 2 ways to join the network. The first one starts with a beacon request but unfortunately doesn&amp;#39;t work in all Zigbee channel. The second one starts with an &amp;quot;Orphan notification&amp;quot; (IEEE 802.15.4 spec) whose reply is a &amp;quot;Coordinator realignment&amp;quot;, packet number 115 in following logs.&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Leave-req-_2D00_-orphan-join-_2800_pkt-115_2900_.pcapng"&gt;devzone.nordicsemi.com/.../Leave-req-_2D00_-orphan-join-_2800_pkt-115_2900_.pcapng&lt;/a&gt;&lt;br /&gt;I erased memory before collecting them.&lt;/p&gt;
&lt;p&gt;Is there a way to notify the stack that this is a new device and it shouldn&amp;#39;t be remove?&lt;/p&gt;
&lt;p&gt;I tried with&amp;nbsp;zb_address_update but it didn&amp;#39;t help.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Laura&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Continuous leave request with rejoin from Zigbee coordinator</title><link>https://devzone.nordicsemi.com/thread/460808?ContentTypeID=1</link><pubDate>Mon, 18 Dec 2023 12:39:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6734ca7a-50ee-4613-8fd7-5614137f5eb2</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Laura,&lt;/p&gt;
[quote user=""]Is there a way to avoid this situation? Any parameter I can set?&amp;nbsp;[/quote]
&lt;p&gt;This is difficult to answer without knowing why the coordinator sends the leave request.&lt;/p&gt;
[quote user=""]If not, is there a way to limit the number of retries for this packet? Any workaround?[/quote]
&lt;p&gt;Based on the sequence numbers of the packets none of them seem to be retries, but instead individual packets. Regarding workaround this is also difficult to answer without knowing what the underlying issue is or what is causing the coordinator to send the leave requests.&lt;/p&gt;
&lt;p&gt;Please get a sniffer log of the end device being commissioned to the network. Make sure that the end device is factory restored or at least does not have any network data stored so it is commissioned to the network and not rejoining. Please also get application logs from the coordinator.&lt;/p&gt;
[quote user=""]This request is sent continuously every time that a data request is received and I don&amp;#39;t know what triggers this behavior (device aging?).[/quote]
&lt;p&gt;Data requests are the keep-alive packets of Zigbee end devices, so the device should not timeout as a result of sending data requests.&lt;/p&gt;
&lt;p&gt;Please note that devices that are not compliant with the Zigbee specification may lead to unexpected behavior such as you are seeing. It could be that the coordinator is sending the leave request because the device is doing something that is not according to the specification.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>