<?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] Lost Connection after refresh key</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71991/zigbee-lost-connection-after-refresh-key</link><description>SDK: 4.1.0 
 CHIP: 52840 
 my sleepy zed lost connection to the coordinator after refreshing key of the coordinator. 
 old question 
 
 the zed received &amp;quot;switch key packet&amp;quot; but doesn&amp;#39;t procedure anything. 
 
 1) 
 Why switch key mechanism doesn&amp;#39;t work</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Mar 2021 06:25:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71991/zigbee-lost-connection-after-refresh-key" /><item><title>RE: [ZIGBEE] Lost Connection after refresh key</title><link>https://devzone.nordicsemi.com/thread/297356?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 06:25:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4566834a-175e-4e68-b239-923db8fa4770</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;I have newly posted on related issues. I would appreciate your application &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/72279/zigbee-doesn-t-receive-transport-key-in-rejoining"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [ZIGBEE] Lost Connection after refresh key</title><link>https://devzone.nordicsemi.com/thread/297082?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2021 09:21:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4f40aa2d-87a4-4256-ad45-ca3af17028a2</guid><dc:creator>_maibi</dc:creator><description>&lt;p&gt;Hi, Thanks for the reply!! I have been waiting for long while.&lt;/p&gt;
[quote userid="73427" url="~/f/nordic-q-a/71991/zigbee-lost-connection-after-refresh-key/297058#297058"]1) Can you attach the whole sniffer log in the .pcapng format so I can see the whole transaction?[/quote]
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/0302_2D00_rejoin.pcapng"&gt;devzone.nordicsemi.com/.../0302_2D00_rejoin.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1614675736597v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;the packet of transport key is encrypted by &amp;quot;5A:69:67:42:65:65:41:6C:6C:69:61:6E:63:65:30:39&amp;quot; which is TC_LINK_KEY.&lt;/p&gt;
&lt;p&gt;the old key is &amp;quot;8F:D4:7C:A9:F8:52:FB:B5:9F:7B:5C:F7:DA:EE:BF:CD&amp;quot;.&lt;/p&gt;
[quote userid="73427" url="~/f/nordic-q-a/71991/zigbee-lost-connection-after-refresh-key/297058#297058"]3) What do you mean by &amp;#39;network time&amp;#39;?[/quote]
&lt;p&gt;Never mind. I found time cluster.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Currently, I wants to erase old network key in zed.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The zed doesn&amp;#39;t receive the packet of transport key which is encrypted by TC_LINK_KEY so that&amp;nbsp;the zed has always old key and encrypt the packet by the old key.&lt;/p&gt;
&lt;p&gt;I want the zed to decrypt the packet with &lt;span&gt;TC_LINK_KEY&amp;nbsp;&lt;/span&gt;by deleting the old key.&lt;/p&gt;
&lt;p&gt;I have been debugging the memory which allocated the buffer of zigbee key. but I can&amp;#39;t find any clue of deleting or getting key in zed.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;How can I delete only network key except other parameters?&lt;/p&gt;
&lt;p&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] Lost Connection after refresh key</title><link>https://devzone.nordicsemi.com/thread/297058?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2021 08:14:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a84681b1-568f-404a-bd0f-23f5f31c0df3</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1) Can you attach the whole sniffer log in the .pcapng format so I can see the whole transaction? Usually when the coordinator decides to switch NWK key, at first, it broadcast new NWK Key (Transport Key command) and then it broadcasts the Switch Key command with key_sequence to switch to. There are no response commands to the broadcasted commands, so there is not response expected. You can read more about NWK key update in the Zigbee specification &lt;strong&gt;4.6.3.4 Network Key Update&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;2) A &amp;#39;Rejoin request&amp;#39; command is usually sent as a response to a communication failure, such as when an end device can no longer communicate with its original parent, see the Zigbee specification &lt;strong&gt;3.4.6 Rejoin Request Command&lt;/strong&gt; . If a network is left by a router or end device, the device will automatically try to join any open network. The rounter will use the default signal handler to try to join or rejoing the network until it succeeds, the end device will do the same but will only retry for a finite period of time, because of battery savings. Please take a look inside the &lt;em&gt;default_signal_handler()&lt;/em&gt; on the SDK examples and take a look at the Zigbee network rejoining procedure on the documentation: &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.1.0%2Fzigbee_application_reference_component.html&amp;amp;resultof=%22%72%65%6a%6f%69%6e%22%20&amp;amp;anchor=zarco_network_rejoin"&gt;https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_tz_v4.1.0%2Fzigbee_application_reference_component.html&amp;amp;resultof=%22%72%65%6a%6f%69%6e%22%20&amp;amp;anchor=zarco_network_rejoin&lt;/a&gt; &lt;br /&gt;&lt;br /&gt;3) What do you mean by &amp;#39;network time&amp;#39;?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>