<?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>After I add ack to ESB the probability of TX failure becomes higher</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/89732/after-i-add-ack-to-esb-the-probability-of-tx-failure-becomes-higher</link><description>TX :52840 
 Software version：nRF5_SDK_16.0.0_98a08e2 hardware version： 
 RX:52820 
 Software version：nRF5_SDK_17.1.0_ddde560 
 My test method: send 60 bytes of data through esb every 5ms, ack replies with 60 bytes of data. Skip to the next channel when</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 08 Jul 2022 12:02:30 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/89732/after-i-add-ack-to-esb-the-probability-of-tx-failure-becomes-higher" /><item><title>RE: After I add ack to ESB the probability of TX failure becomes higher</title><link>https://devzone.nordicsemi.com/thread/376197?ContentTypeID=1</link><pubDate>Fri, 08 Jul 2022 12:02:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d69f697-f2af-445b-960b-afd35e861688</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user="xiami"]Thank you, the probability of failure to send is reduced after I increase retransmit_count.[/quote]
&lt;p&gt;Good to hear, that makes sense.&lt;/p&gt;
[quote user="xiami"]I have another question: sometimes I receive data that I send.[/quote]
&lt;p&gt;It is not physically possible for the radio to receive it&amp;#39;s own signal (it is either in Tx of Rx, never both modes at once), so if you receive the same data it is sent back by the other party for some reason.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After I add ack to ESB the probability of TX failure becomes higher</title><link>https://devzone.nordicsemi.com/thread/376043?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 14:06:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:88dd1c13-64b2-49b5-b6a9-8f9ddc2679f1</guid><dc:creator>xiami</dc:creator><description>&lt;p&gt;Thank you, the probability of failure to send is reduced after I increase retransmit_count.&lt;br /&gt;I have another question: sometimes I receive data that I send.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After I add ack to ESB the probability of TX failure becomes higher</title><link>https://devzone.nordicsemi.com/thread/376034?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 13:45:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4492681d-1700-4ecd-95a6-a6e8f8531470</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;If the problem here is that the packet cannot make it through with the configured maximum number of retransmits, you could increase the&amp;nbsp;retransmit_count parameter (in the&amp;nbsp;nrf_esb_config_t instance you pass to&amp;nbsp;nrf_esb_init() or using&amp;nbsp;nrf_esb_set_retransmit_count()).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After I add ack to ESB the probability of TX failure becomes higher</title><link>https://devzone.nordicsemi.com/thread/376032?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 13:36:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56d544ec-1cb0-4222-905a-95bbedf33808</guid><dc:creator>xiami</dc:creator><description>&lt;p&gt;When I &lt;span&gt;enable&lt;/span&gt; ack and retransmission, what should I do to reduce the probability of sending failure?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: After I add ack to ESB the probability of TX failure becomes higher</title><link>https://devzone.nordicsemi.com/thread/376020?ContentTypeID=1</link><pubDate>Thu, 07 Jul 2022 12:53:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6582105b-48cc-42cb-8ccb-c38855e40da6</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you enable ACK and retransmissions there will be retransmissions for until an ACK is received back &lt;em&gt;or&lt;/em&gt; the retransmit count has been reached. If it is, and there is no ack, you will get a&amp;nbsp;NRF_ESB_EVENT_TX_FAILED event (see how m_retransmits_remaining is used in nrf_esb.c for details). So it is expected that you will more failure events after enabling ACK (after all, you are no longer just ignoring packet loss).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>