<?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>[nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/102686/nrf5-sdk-for-zigbee-4-1-zigbee-leave-network-failed</link><description>Dear Support Team, 
 Based on nrf5 sdk for zigbee 4.1, nrf52840dk, do the following tests: 1. Modify the \examples\zigbee\light_control\light_switch example, that is, add button 1 to leave network, button 2 to join network, button 3 to directly erase</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 21 Aug 2023 08:55:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/102686/nrf5-sdk-for-zigbee-4-1-zigbee-leave-network-failed" /><item><title>RE: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/442235?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 08:55:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3a6a8b3d-9777-49c5-adb6-15ffc49279f9</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Zero,&lt;/p&gt;
&lt;p&gt;I would recommend that the customers update to v4.2. The changes are in the ZBOSS stack, so there is no easy way to patch it in v4.1. They can follow &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.2.0/zigbee_r22_migration_330_3111.html"&gt;Zigbee stack migration guide: v3.3.0 to v3.11.1.5&lt;/a&gt; to update.&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: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/442192?ContentTypeID=1</link><pubDate>Mon, 21 Aug 2023 03:46:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb9c4bf5-ac01-4b6e-8cba-3186c897f058</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;&lt;span&gt;Dear&amp;nbsp;&lt;/span&gt;&lt;span&gt;Marte，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I have tested that T&amp;amp;Z 4.2 does not have this problem, so T&amp;amp;Z 4.1 can be repaired by patching?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Zero&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/441140?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 12:05:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e1e6899-c6a6-47ea-83f6-692b818f1001</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Zero,&lt;/p&gt;
&lt;p&gt;I am not sure whether this issue is due to the bug in zb_bdb_reset_via_local_action(), or if it is due to something else, but the zb_bdb_reset_via_local_action() bug is fixed in nRF5 SDK T&amp;amp;Z v4.2.0. The v4.2 release had a lot of fixes, so I strongly recommend updating from v4.1 to v4.2 if possible regardless.&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: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/441060?ContentTypeID=1</link><pubDate>Mon, 14 Aug 2023 00:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5223ac62-7a51-4ceb-a763-f1e7fd9da211</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;&lt;span&gt;Dear&amp;nbsp;&lt;/span&gt;&lt;span&gt;Marte，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This project has already been mass-produced and launched, and it cannot be switched to NCS. If T&amp;amp;Z 4.1 is patched to fix the error of zb_bdb_reset_via_local_action()?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Zero&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/440907?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 09:17:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:abf7969b-c227-440d-8b6a-f2f7d0c7c362</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Zero,&lt;/p&gt;
&lt;p&gt;I understand what you mean now. I know that there was a bug in zb_bdb_reset_via_local_action() which was fixed in v4.2.0. Can you try updating the SDK?&lt;/p&gt;
&lt;p&gt;Also, since nRF5 SDK for Thread and Zigbee is deprecated, I would recommend moving to nRF Connect SDK instead if possible.&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: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/440844?ContentTypeID=1</link><pubDate>Fri, 11 Aug 2023 01:03:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3125438e-caa2-4dc6-b2d9-a8eb07ed46b4</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;&lt;span&gt;Dear&amp;nbsp;&lt;/span&gt;&lt;span&gt;Marte，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After the device sent the &amp;quot;leave&amp;quot; command to the coordinator, it did not report the &amp;quot;leave signal&amp;quot;, which resulted in the device not leaving the network successfully, and all signals would not be reported.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Zero&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/440801?ContentTypeID=1</link><pubDate>Thu, 10 Aug 2023 15:15:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:983d806f-fa8b-496b-af3c-af49671ea237</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Zero,&lt;/p&gt;
&lt;p&gt;I am not sure I understand the issue. The device sends a Leave command, leaves the network and no longer communicates on the network. Are you expecting it to do something different?&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: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/440603?ContentTypeID=1</link><pubDate>Thu, 10 Aug 2023 01:59:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f19d0b4-8d00-4467-96c4-ecd52e10e72b</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;&lt;span&gt;Dear&amp;nbsp;&lt;/span&gt;&lt;span&gt;Marte，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I performed the following steps to test:&lt;br /&gt;1. Re-decompress nRF5_SDK_for_T&amp;amp;Z_v4.1.0_32ce5f8.zip.&lt;br /&gt;2. Compile nRF5_SDK_for_T&amp;amp;Z_v4.1.0_32ce5f8\examples\zigbee\light_control\light_coordinator as the coordinator, and download it to one of the 52840-DK.&lt;br /&gt;3. Copy the above main.c and zigbee_helpers.c to nRF5_SDK_for_T&amp;amp;Z_v4.1.0_32ce5f8\examples\zigbee\light_control\light_switch, and replace the original, compile and download to another 52840-DK.&lt;br /&gt;4. Follow the above operation, that is, join network-&amp;gt;restart device-&amp;gt;leave network.&lt;br /&gt;After seeing the device restarted through packet capture, press button2 leaver network, and the &amp;quot;leave&amp;quot; action is displayed, but the device does not have a leave network.&lt;br /&gt;Why?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1691632555894v1.png" alt=" " /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/zigbee_5F00_leave.pcapng"&gt;devzone.nordicsemi.com/.../zigbee_5F00_leave.pcapng&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Zero&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/440454?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 10:00:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d09d880-2e5d-43e5-90d6-0d61ff538d89</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;&lt;span&gt;Dear&amp;nbsp;&lt;/span&gt;&lt;span&gt;Marte，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Nothing changed, but I will re-extract the 4.1 sdk to test it.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Zero&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/440443?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 09:23:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db5a81f0-a6d8-4c2d-9edb-c0386128d249</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi Zero,&lt;/p&gt;
&lt;p&gt;I tested with light_coordinator as ZC now, and the light switch still left successfully.&lt;br /&gt;Have you made any other changes to the SDK files?&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: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/440439?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 09:13:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f631c1c-549a-49c8-ba5a-ece859c3cc9d</guid><dc:creator>zero</dc:creator><description>&lt;p&gt;Dear&amp;nbsp;&lt;span&gt;Marte，&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I use the \examples\zigbee\light_control\light_coordinator example as ZC, and I will grab the sniffer log tomorrow.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;br /&gt;Zero&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [nrf5 sdk for zigbee 4.1] ZigBee leave network failed</title><link>https://devzone.nordicsemi.com/thread/440432?ContentTypeID=1</link><pubDate>Wed, 09 Aug 2023 08:52:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8d79651f-5e13-45f6-a654-7438dd1a4906</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What are you using as coordinator? Can you get a sniffer log of this?&lt;/p&gt;
&lt;p&gt;I am not able to reproduce the issue with your project. I built your project in nRF5 SDK for T&amp;amp;Z v4.1.0 with the modified zigbee_helpers.c, and used Zigbee Shell from nRF Connect SDK as coordinator. The device left successfully when I performed the same steps as you, that is, joining the network, soft reset, and then leaving the network.&lt;/p&gt;
&lt;p&gt;The screenshot from the sniffer log shows the device rejoining the network after reset, sending a leave command, and then there is no more communication from the light switch on the network:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1691570972138v1.png" alt=" " /&gt;&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>