<?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>opentrhead</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/128094/opentrhead</link><description>where i can find the retrasmition number in case of not ack?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 11 May 2026 20:39:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/128094/opentrhead" /><item><title>RE: opentrhead</title><link>https://devzone.nordicsemi.com/thread/566216?ContentTypeID=1</link><pubDate>Mon, 11 May 2026 20:39:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:227aaf35-2af7-47ab-b9af-19d527637b38</guid><dc:creator>Marte Myrvold</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you want the maximum number of retransmissions or to monitor the retransmissions during runtime?&lt;/p&gt;
&lt;p&gt;The configured maximum is defined by&amp;nbsp;&lt;code&gt;OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_DIRECT&lt;/code&gt; (for direct transmissions/unicast) and&amp;nbsp;&lt;code&gt;OPENTHREAD_CONFIG_MAC_DEFAULT_MAX_FRAME_RETRIES_INDIRECT&lt;/code&gt; (for indirect, like parent-child polling) in&amp;nbsp;modules/lib/openthread/src/core/config/mac.h.&lt;/p&gt;
&lt;p&gt;You can also get the max retries during runtime by calling&amp;nbsp;&lt;code&gt;otLinkGetMaxFrameRetriesDirect()&lt;/code&gt; and&amp;nbsp;&lt;code&gt;otLinkGetMaxFrameRetriesIndirect()&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you instead want to monitor it during runtime you can use the&amp;nbsp;&lt;code&gt;otMacCounters&lt;/code&gt; struct, like this:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;const otMacCounters *counters = otLinkGetCounters(aInstance);
uint32_t retries       = counters-&amp;gt;mTxRetry;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Marte&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>