<?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] end device does not send End Device Timeout Request keepalive</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/83654/zigbee-end-device-does-not-send-end-device-timeout-request-keepalive</link><description>Hello, I am working with 2 nRF52840 dk&amp;#39;s and a Conbee ii. 
 
 The DK&amp;#39;s are using nRF5 SDK for Thread and Zigbee 4.1.0. 
 DK 1 is running the CLI example. 
 DK 2 is running the multi-sensor example, with . 
 
 From a sniffer capture, the CLI example only</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Feb 2022 15:27:37 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/83654/zigbee-end-device-does-not-send-end-device-timeout-request-keepalive" /><item><title>RE: [Zigbee] end device does not send End Device Timeout Request keepalive</title><link>https://devzone.nordicsemi.com/thread/353675?ContentTypeID=1</link><pubDate>Thu, 17 Feb 2022 15:27:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3b31bb43-ce6c-4e5d-8e13-c505a537fae2</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi Chris,&lt;/p&gt;
&lt;p&gt;Sorry for not getting back to you sooner regarding this issue. I had to consult our Zigbee team to get help with how to enable support for&amp;nbsp;&amp;quot;End Device Timeout Request Keepalive&amp;quot; in Coordinator/router role.&lt;/p&gt;
&lt;p&gt;Unfortunately, I could not find any API to enable this in nRF5 SDK for Thread and Zigbee v4.1.0. In nRF Connect SDK, there is additional API to enable this: &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.9.0.1/group__zb__general__set.html#ga3aa74780194604fc5594eaf912662ba3"&gt;zb_set_keepalive_mode&lt;/a&gt;(). By setting this to&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.9.0.1/group__zb__general__set.html#gaedd49f747d6842e37abd3c7a3e9dc572"&gt;ED_TIMEOUT_REQUEST_KEEPALIVE&lt;/a&gt;&amp;nbsp;or&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/zboss/3.9.0.1/group__zb__general__set.html#ga1f65020328ff875c25b4054d8341da33"&gt;BOTH_KEEPALIVE_METHODS&lt;/a&gt;, the nRF Zigbee Coordinator/router will report True to supporting&amp;nbsp;&lt;span&gt;&amp;quot;End Device Timeout Request Keepalive&amp;quot;. I tested this with the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/samples/zigbee/shell/README.html"&gt;Zigbee Shell sample&lt;/a&gt; in nRF Connect SDK v1.8.0, by calling this function when the &lt;a href="https://github.com/nrfconnect/sdk-nrf/blob/v1.8.0/subsys/zigbee/cli/zigbee_cli_cmd_bdb.c#L182-L183"&gt;coordinator role is set&lt;/a&gt;:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;zb_set_keepalive_mode(ED_TIMEOUT_REQUEST_KEEPALIVE);&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Unfortunately, it seems that the multi-sensor example in nRF5 SDK for Thread and Zigbee v4.1.0 does not send timeout requests with the Coordinator running on a Nordic chip either.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Next, I tested it against the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.8.0/nrf/samples/zigbee/light_switch/README.html"&gt;Zigbee Light Switch sample&lt;/a&gt; from nRF Connnect SDK v1.8.0, and this seems to send the timeout requests as expected.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Attaching sniffer trace:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/NCS_5F00_Zigbee_5F00_ED_5F00_timeout_5F00_keepalive_5F00_request.pcapng"&gt;devzone.nordicsemi.com/.../NCS_5F00_Zigbee_5F00_ED_5F00_timeout_5F00_keepalive_5F00_request.pcapng&lt;/a&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;This leads me to believe that there is a bug in the Zigbee stack in the old SDK release, which makes the ED timeout keepalive requests not working properly.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Have you considered moving your development to nRF Connect SDK? This is the main development platform for our products, and where all new features will be released. &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF5 SDK is in maintenance mode&lt;/a&gt;, which means bugfix releases may be coming, but likely not with a high frequency. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If you intend to stay with nRF5 SDK, this issue should be resolved in next nRF5 SDK for Thread and Zigbee release. You can contact your regional sales manager for details about when that will become available.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] end device does not send End Device Timeout Request keepalive</title><link>https://devzone.nordicsemi.com/thread/350044?ContentTypeID=1</link><pubDate>Thu, 27 Jan 2022 16:20:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ad6605e-73e8-4a1c-a42b-9544cb77421d</guid><dc:creator>chris.t</dc:creator><description>&lt;p&gt;Hi J&amp;oslash;rgen,&lt;br /&gt;&lt;br /&gt;Was there any update on this?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] end device does not send End Device Timeout Request keepalive</title><link>https://devzone.nordicsemi.com/thread/348787?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 16:44:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d37983d3-e368-4aeb-8533-1a2e276f906c</guid><dc:creator>chris.t</dc:creator><description>&lt;p&gt;That&amp;#39;s good to know!&lt;br /&gt;&lt;br /&gt;Yes latest fw on the Conbee 2 and sw on the host computer.&lt;/p&gt;
&lt;p&gt;Reported compliance rev aside, the Conbee responding to end device timeout requests should be enough for the Multisensor to start sending timeout requests, correct?&lt;/p&gt;
&lt;p&gt;When I say, &amp;quot;enable Timeout request keepalive on the Zigbee CLI Agent&amp;quot;, I mean, in a coordinator role, to respond to the Multisensor as supporting both methods like the Conbee:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/Screenshot-2022_2D00_01_2D00_20-082726.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] end device does not send End Device Timeout Request keepalive</title><link>https://devzone.nordicsemi.com/thread/348745?ContentTypeID=1</link><pubDate>Thu, 20 Jan 2022 14:19:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:84e479a4-5541-4fb1-8338-2a49752b3f7d</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="chris.t"]Where from the trace can you determine that the Conbee is reporting as a legacy device?[/quote]
&lt;p&gt;This can be seen from the &amp;quot;Stack Compliance Revision&amp;quot; flag in the Coordinators &amp;quot;Node descriptor response&amp;quot;:&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/conbee_5F00_node_5F00_descriptor_5F00_stack_5F00_rev.png" /&gt;&lt;/p&gt;
&lt;p&gt;According to the R21/R22 specifications, this field should be set to the spec revision (21/22). On legacy devices (pre-r21), the field is reserved and set to 0&amp;#39;s.&lt;/p&gt;
&lt;p&gt;Are you using the latest version of the firmware/software for the Conbee 2?&lt;/p&gt;
[quote user="chris.t"]Would it be possible to enable Timeout request Keepalive in addition to MAC data poll on the CLI example, perhaps testing with that would be easier?[/quote]
&lt;p&gt;The Zigbee CLI Agent example does not support the End Device role, so I&amp;#39;m not sure how trivial it would be to add support for this.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] end device does not send End Device Timeout Request keepalive</title><link>https://devzone.nordicsemi.com/thread/348121?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 16:47:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51254a9f-d922-49af-a22a-1ddc2f9e6d3c</guid><dc:creator>chris.t</dc:creator><description>&lt;p&gt;Hello,&lt;br /&gt;&lt;br /&gt;Where from the trace can you determine that the Conbee is reporting as a legacy device? It&amp;#39;s &lt;a href="https://www.phoscon.de/en/conbee2/techspec"&gt;product page &lt;/a&gt;advertised it as Zigbee 3.0.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/legacy_5F00_enabled.pcapng"&gt;devzone.nordicsemi.com/.../legacy_5F00_enabled.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The behavior looks the same with legacy device support on the Multisensor example enabled. At frame 144, I restarted the Multsensor example and it did rejoin the network but still no keep alive messages even though the Conbee responded with supporting both types.&lt;/p&gt;
&lt;p&gt;Would it be possible to enable Timeout request Keepalive in addition to MAC data poll on the CLI example, perhaps testing with that would be easier?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Chris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: [Zigbee] end device does not send End Device Timeout Request keepalive</title><link>https://devzone.nordicsemi.com/thread/348117?ContentTypeID=1</link><pubDate>Mon, 17 Jan 2022 16:18:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b915110d-bf1f-420c-9a42-2db3d9d2a64c</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;From the sniffer trace, it looks like the Conbee II reports as a legacy device (i.e. not a Zigbee 3.0 device/Zigbee specification above r21).&lt;/p&gt;
&lt;p&gt;The End device timeout protocol was first added to the specification in r21, so this may not be supported by the coordinator. I&amp;#39;m not sure what happens in your sniffer trace, but it looks like the device&amp;nbsp;sends a new &amp;quot;Permit Join Request&amp;quot; in frame 126, then stops sending more packets after this.&lt;/p&gt;
&lt;p&gt;Can you try to add&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_tz_v4.1.0/group__zboss__bdb__comm__params.html#ga8bf3b3beef192c00bcdca17ad1240921"&gt;&lt;span&gt;zb_bdb_set_legacy_device_support&lt;/span&gt;&lt;/a&gt;&lt;span&gt;(1&lt;/span&gt;&lt;span&gt;); to the Multisensor example, and capture a new sniffer trace to see if this makes any difference?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>