<?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>Reduce the number of retries for an unavailable device</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110622/reduce-the-number-of-retries-for-an-unavailable-device</link><description>We are currently working with Zigbee coordinator sample SDK version 2.1.0. When attempting to write data to a unavailable device, the stack sends an unimplemented signal four times, with a gap of 10 seconds between each attempt. After this (about 40 seconds</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 May 2024 10:25:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110622/reduce-the-number-of-retries-for-an-unavailable-device" /><item><title>RE: Reduce the number of retries for an unavailable device</title><link>https://devzone.nordicsemi.com/thread/481966?ContentTypeID=1</link><pubDate>Mon, 06 May 2024 10:25:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aaa03ab4-c832-402a-ad49-1abe9380f448</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The answer is as follows:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;`&lt;code&gt;ZB_N_APS_MAX_FRAME_RETRIES&lt;/code&gt;` defaults to 3, but the Zigbee spec defines `&lt;code&gt;apscMaxFrameRetries&lt;/code&gt;` as `&lt;code&gt;The maximum number of retries allowed after a transmission failure&lt;/code&gt;`, so I would say it leaves the door open to set a lower value.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;`&lt;code&gt;ZB_MAC_MAX_FRAME_RETRIES&lt;/code&gt;` defaults to 3, and as mentioned the IEEE 802.15.4 spec defines `&lt;code&gt;macMaxFrameRetries&lt;/code&gt;` also as `&lt;code&gt;The maximum number of retries allowed after a transmission failure&lt;/code&gt;` and allows the values 0-7.&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;However, both are defined in `&lt;code&gt;modules/lib/zboss/include/zb_config_common.h&lt;/code&gt;`, which means that those are hard coded in the stack provided with the precompiled libraries and modifying them has no effect (as you observed).&lt;/p&gt;
&lt;p&gt;So, those are the values that were used to asses the Zigbee certification conformance and Nordic in-house testing. Changing them could&amp;nbsp; lead to unexpected behavior and potentially non-conformance with the Zigbee certification.&lt;/p&gt;
&lt;p&gt;You can see more in 2.2.7.1 in the Zigbee spec.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reduce the number of retries for an unavailable device</title><link>https://devzone.nordicsemi.com/thread/481107?ContentTypeID=1</link><pubDate>Mon, 29 Apr 2024 13:27:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:16ed6996-b9a5-4116-b25a-7b1505d1186a</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Just an update: We&amp;#39;ve done some testing regarding the following&lt;/p&gt;
&lt;p&gt;apscMaxFrameRetries is set to 3 according to the spec, but macMaxFrameRetries in the 802.15.4 spec is 3 by default but can be 0-7. The question is if it is possible to change this value.&lt;/p&gt;
&lt;p&gt;ZB_MAC_MAX_FRAME_RETRIES, which the customer changed, does not seem to affect the number of MAC frame retries.&lt;/p&gt;
&lt;p&gt;We&amp;#39;ve created an internal inquiry with the Zigbee team and I&amp;#39;ll get back to you when I have some more information&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reduce the number of retries for an unavailable device</title><link>https://devzone.nordicsemi.com/thread/480875?ContentTypeID=1</link><pubDate>Fri, 26 Apr 2024 11:35:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d953f35-8980-44bc-be14-930f0e7b0289</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve picked up your case and will be looking into it. I will return with an update regarding the status next week.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>