<?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>How to add custom content in the ASK package sent by ESB&amp;#39;s RX to TX</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/91382/how-to-add-custom-content-in-the-ask-package-sent-by-esb-s-rx-to-tx</link><description>I hope to add custom data to the ASK package returned to TX in the ESB application. How can I add it in the input? How should the tx side read the custom data.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 02 Sep 2022 01:18:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/91382/how-to-add-custom-content-in-the-ask-package-sent-by-esb-s-rx-to-tx" /><item><title>RE: How to add custom content in the ASK package sent by ESB's RX to TX</title><link>https://devzone.nordicsemi.com/thread/384395?ContentTypeID=1</link><pubDate>Fri, 02 Sep 2022 01:18:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:34a790f9-96a1-42b9-ae42-9e008ef73ee0</guid><dc:creator>mingjkl</dc:creator><description>&lt;p&gt;I read the manual carefully again and operated it again, I already know how to use it, thank you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to add custom content in the ASK package sent by ESB's RX to TX</title><link>https://devzone.nordicsemi.com/thread/383455?ContentTypeID=1</link><pubDate>Fri, 26 Aug 2022 11:59:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:051c95ab-1888-4dc0-9aae-954c1fec3b47</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Jianming,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you give more information about the chip you use and the SDK you use ?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you are using NCS , you can have a look at the&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.3.0/nrf/include/esb.html#_CPPv417esb_write_payloadPK11esb_payload"&gt;esb_write_payload()&lt;/a&gt; function.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;When the module is in PRX mode, the payload is queued for when a packet is received that requires an acknowledgement with payload.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;So what you need to do is to call&amp;nbsp;esb_write_payload() function with the payload you want to include in the ACK package &lt;strong&gt;before&lt;/strong&gt; you receive the incoming package.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can have a look at the documentation &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_esb.html"&gt;here&lt;/a&gt;:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:401px;max-width:645px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1290x802/__key/communityserver-discussions-components-files/4/pastedimage1661515618557v2.png" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>