<?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>zdo mgmt_leave Timeout With End Devices</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62362/zdo-mgmt_leave-timeout-with-end-devices</link><description>I am using Thread/ZigBee SDK v4.0.0 as a coordinator. I have no zigbee routers in the network so all of the end devices in the network join the coordinator. When I issue a 
 I offten get a Error: mgmt_leave timeout. I&amp;#39;m assuming that this is because is</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 17 Jun 2020 04:48:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62362/zdo-mgmt_leave-timeout-with-end-devices" /><item><title>RE: zdo mgmt_leave Timeout With End Devices</title><link>https://devzone.nordicsemi.com/thread/255379?ContentTypeID=1</link><pubDate>Wed, 17 Jun 2020 04:48:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14bc34d4-b8f9-49f5-9b7c-bb269e1a5ed7</guid><dc:creator>WestCoastDaz</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/members/marjeris-romero"&gt;Marjeris Romero&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks for the reply.&amp;nbsp; I will try using the short address instead and let you know.&lt;/p&gt;
&lt;p&gt;BR,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Darren&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: zdo mgmt_leave Timeout With End Devices</title><link>https://devzone.nordicsemi.com/thread/254997?ContentTypeID=1</link><pubDate>Mon, 15 Jun 2020 12:08:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:025ff3a0-b60d-4d09-be6b-705b50b18332</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi Darren,&lt;/p&gt;
&lt;p&gt;Can you double check the format for the payload on this command? The CLI reference on the infocenter asks you to use the 16-bit format on the destination address, not the 64-bit IEEE address:&lt;/p&gt;
&lt;p&gt;zdo mgmt_leave &amp;lt;h:16-bit dst_addr&amp;gt; [h:device_address eui64] [--children] [--rejoin]&lt;/p&gt;
&lt;p&gt;If &lt;code&gt;device_address&lt;/code&gt; is omitted or it has value &lt;code&gt;0000000000000000&lt;/code&gt;, the remote device at address &lt;code&gt;dst_addr&lt;/code&gt; will remove itself from the network. If &lt;code&gt;device_address&lt;/code&gt; has other value, it must be a long address corresponding to &lt;code&gt;dst_addr&lt;/code&gt; or a long address of child node of &lt;code&gt;dst_addr&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;So if you want &amp;lt;h:16-bit dst_addr&amp;gt; node to leave the network you should send this command with [h:device_address eui64]== 0 or omitted.&lt;/p&gt;
&lt;p&gt;Examples:&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;pre class="ui-code" data-mode="text"&gt;zdo mgmt_leave 0x1234&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;Sends &lt;code&gt;mgmt_leave_req&lt;/code&gt; to the device with the short address &lt;code&gt;0x1234&lt;/code&gt;, asking it to remove itself from the network.&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>