<?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] How to send &amp;quot;rejoin&amp;quot; request?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71627/zigbee-how-to-send-rejoin-request</link><description>SDK: 4.1.0 
 CHIP: 52840 
 
 Hi, I have developed sleepy zed. It lost the connection with the network after joining in 1~3 days. 
 It assumes that the zed couldn&amp;#39;t get the network key after refresh key of the coordinator. 
 so, the zed get this signal</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Feb 2021 00:32:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71627/zigbee-how-to-send-rejoin-request" /><item><title>RE: [ZIGBEE] How to send "rejoin" request?</title><link>https://devzone.nordicsemi.com/thread/295718?ContentTypeID=1</link><pubDate>Tue, 23 Feb 2021 00:32:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:322089df-5965-4397-93ee-723f45f955bb</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;Any updated?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ZIGBEE] How to send "rejoin" request?</title><link>https://devzone.nordicsemi.com/thread/294993?ContentTypeID=1</link><pubDate>Thu, 18 Feb 2021 08:06:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b9c617b7-0239-4bce-962a-3e4128dec0b9</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;Hi, Can you check my sniffer log?&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1613635408388v1.png" /&gt;&lt;/p&gt;
&lt;p&gt;I found a broadcast packet of switch key. but the zed doesn&amp;#39;t have any action. after this, the zed lost connection with the coordinator.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/switch_5F00_key.pcapng"&gt;devzone.nordicsemi.com/.../switch_5F00_key.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;additionally, How can I register callback receive APS?&lt;/p&gt;
&lt;div style="left:4px;position:absolute;top:582px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ZIGBEE] How to send "rejoin" request?</title><link>https://devzone.nordicsemi.com/thread/294822?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2021 11:47:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4c97e6b-cef9-4533-92f9-3089eafd6294</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;summarize my questions.&lt;/p&gt;
&lt;p&gt;1) how can I&amp;nbsp;manipulate refresh key of the coordinator?&amp;nbsp;after this, My zed doesn&amp;#39;t&amp;nbsp;receive response of the coordinator.&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;the zed is disconnected, but ZB_JOINED returns true.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="font-family:inherit;"&gt;2) I wants to know the function which start rejoin procedure directly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="left:49px;position:absolute;top:23px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ZIGBEE] How to send "rejoin" request?</title><link>https://devzone.nordicsemi.com/thread/294807?ContentTypeID=1</link><pubDate>Wed, 17 Feb 2021 11:16:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dba7da3-0eb5-41b8-8ebe-14246a93cdb5</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am not sure if I understood what you are asking for correctly, but the default signal handler will call start_network_rejoin() after ZB_ZDO_SIGNAL_LEAVE is called. See zigbee_default_signal_handler() in zigbee_helpers.c:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;        case ZB_ZDO_SIGNAL_LEAVE:
            /* This signal is generated when the device itself has left the network by sending leave command.
             *
             * Note: this signal will be generated if the device tries to join legacy Zigbee network and the TCLK
             *       exchange cannot be completed. In such situation, the ZB_BDB_NETWORK_STEERING signal will be generated
             *       afterwards, so this case may be left unimplemented.
             */
            if (status == RET_OK)
            {
                zb_zdo_signal_leave_params_t * p_leave_params = ZB_ZDO_SIGNAL_GET_PARAMS(p_sg_p, zb_zdo_signal_leave_params_t);
                NRF_LOG_INFO(&amp;quot;Network left (leave type: %d)&amp;quot;, p_leave_params-&amp;gt;leave_type);

                /* Start network rejoin procedure */
                start_network_rejoin();
            }
            else
            {
                NRF_LOG_ERROR(&amp;quot;Unable to leave network (status: %d)&amp;quot;, status);
            }&lt;/pre&gt;&lt;br /&gt;&lt;br /&gt; You can read more about the Zigbee network rejoining procedure by the default handler here: &lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/zigbee_application_reference_component.html?cp=7_3_3_5_0_5#zarco_network_rejoin"&gt;https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/zigbee_application_reference_component.html?cp=7_3_3_5_0_5#zarco_network_rejoin&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;If you want to control the rejoining procedure by the application you need to handle each signal in which the Zigbee network rejoin procedure is managed by the application. Use start_network_rejoin() to start the rejoining procedure.&lt;br /&gt;&lt;br /&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>