<?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>Turning off ACK in ESB on nRF52</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26002/turning-off-ack-in-esb-on-nrf52</link><description>Hello. 
 I am trying to turn off ACK in the example &amp;quot;esb_ptx&amp;quot;. I have tried this in both SDK 12.2 and 14.0. 
 I try to turn off ACK like this: 
 static nrf_esb_payload_t tx_payload = NRF_ESB_CREATE_PAYLOAD(0, 0x01, 0x00, 0x00, 0x00, 0x11, 0x00, 0x00</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 18 Oct 2017 10:21:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26002/turning-off-ack-in-esb-on-nrf52" /><item><title>RE: Turning off ACK in ESB on nRF52</title><link>https://devzone.nordicsemi.com/thread/102474?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 10:21:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91052c5d-51da-4c02-bf36-b4069ecb791c</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You are welcome Anders. Actually the code for ESB stack is open now, make it easier to understand how it works. Also if you want better documentation, have a look at the ESB chapter in the nRF24LE1. There are more detail there :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Turning off ACK in ESB on nRF52</title><link>https://devzone.nordicsemi.com/thread/102477?ContentTypeID=1</link><pubDate>Wed, 18 Oct 2017 08:09:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c504854d-0ffc-4af2-b758-c414ffbcf9b6</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Thank you Hung. I have now turned on selective ack on the receivers, and set noack = 1 on the transmitted packet. It works great!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Turning off ACK in ESB on nRF52</title><link>https://devzone.nordicsemi.com/thread/102473?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 13:35:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1ffda25-ea3e-4644-aaf5-113dd3e5b2f1</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Anders,&lt;/p&gt;
&lt;p&gt;selective_auto_ack is the configuration bit to tell if the ACK should be done automatically for all packets or it should be done base on noack bit in each packet (selectively)
If selective_auto_ack = 0 then noack bit will be ignored.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Turning off ACK in ESB on nRF52</title><link>https://devzone.nordicsemi.com/thread/102476?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 10:39:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:53bddd34-bd5b-4493-85d7-5bfbc4672f0d</guid><dc:creator>Jan Tore Guggedal</dc:creator><description>&lt;p&gt;Just for future reference: I experienced a similar error, and found out it is C-specific, as C does not allow assignment outside of functions. Declaration and initialization is allowed outside of functions, but not assignment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Turning off ACK in ESB on nRF52</title><link>https://devzone.nordicsemi.com/thread/102475?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 09:32:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec08de25-76c4-4bea-90a1-d0904b094dbd</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;I am doing great, thanks!&lt;/p&gt;
&lt;p&gt;It compiled when &amp;quot;tx_payload.noack = 1;&amp;quot; is put inside a function (for some reason).&lt;/p&gt;
&lt;p&gt;Will i need to change any other config on either the PTX or PRX side to support no acks? I see that there is a field called &amp;quot;selective_auto_ack&amp;quot; in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.2.0/structnrf__esb__config__t.html?cp=4_0_4_6_10_0_3"&gt;nrf_esb_config_t&lt;/a&gt; struct, but i cannot find explanation for what it does. I have looked in the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v11.0.0%2Fesb_users_guide.html"&gt;ESB user guide&lt;/a&gt; and the &lt;a href="https://devzone.nordicsemi.com/blogs/783/intro-to-shockburstenhanced-shockburst/"&gt;ESB blog post&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Turning off ACK in ESB on nRF52</title><link>https://devzone.nordicsemi.com/thread/102472?ContentTypeID=1</link><pubDate>Tue, 17 Oct 2017 07:56:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b668d02f-eedc-4be1-8dd4-70c8740d4957</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Anders,
How are you ? :)&lt;/p&gt;
&lt;p&gt;Strange to see the error, I guess smth wrong with the declaration of nrf_esb_payload_t . Could you try to compile the stock example esb_ptx in a fresh SDK ? We have  tx_payload.noack = false; in the main loop in the example and it compiled without problem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>