<?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>esb rx with multiple tx devices.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/110052/esb-rx-with-multiple-tx-devices</link><description>Now I have some devices that use esb proprietary protocols. They have the same address as well as the channel address. 
 Now suppose there are multiple tx devices and one rx device at the same time. 
 If there are multiple tx devices trying to send data</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 10 Apr 2024 09:14:18 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/110052/esb-rx-with-multiple-tx-devices" /><item><title>RE: esb rx with multiple tx devices.</title><link>https://devzone.nordicsemi.com/thread/477985?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 09:14:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9e425716-36dd-425c-a81c-df34c8976391</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Please refer to the ESB documentation for the development environment you are using, for instance:&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/esb_users_guide.html"&gt;https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/esb_users_guide.html&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/protocols/esb/index.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/2.6.0/nrf/protocols/esb/index.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
[quote user="carefree"]&lt;p&gt;2.&amp;nbsp;If the above question is true, then it means that I must know the amount of PRX in advance. Right?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;So if I can&amp;#39;t determine the access device for PRX in advance, what can I do?&lt;/p&gt;[/quote]
&lt;p&gt;The PRX can support up to 8 pipes, so you can then have up to 8 PTX devices. The PRX may use ack payload to send back information to the PTX which pipe it should use for further communication.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: esb rx with multiple tx devices.</title><link>https://devzone.nordicsemi.com/thread/477953?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 08:01:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e138e22e-6456-4f5e-b72b-33a08edb1342</guid><dc:creator>carefree</dc:creator><description>&lt;p&gt;Thank you very much. I understand what you mean. I have a few last questions.&lt;/p&gt;
&lt;p&gt;1. Is the esb_set_prefixes function setting the same address as &amp;quot;pipe&amp;quot; in the esb payload?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;In previous programs, I did not pay attention to this address, and I did not do any additional processing for the &amp;quot;pipe&amp;quot; in the esb payload, either PTX or PRX.&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;If the above question is true, then it means that I must know the amount of PRX in advance. Right?&lt;/p&gt;
&lt;p&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;So if I can&amp;#39;t determine the access device for PRX in advance, what can I do?&lt;/p&gt;
&lt;p&gt;Thanks！&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: esb rx with multiple tx devices.</title><link>https://devzone.nordicsemi.com/thread/477943?ContentTypeID=1</link><pubDate>Wed, 10 Apr 2024 07:11:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc50cb4c-99b5-47b8-959e-bae2c79268c2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not a good idea to have several PTX that send data to the same PRX using the same address, the problem is that since all devices share address and use ack, you can end up in a situation that a PTX will interpret the packet from another PTX as the ACK for it&amp;#39;s previously sent packet. So, ideally you can use a shared address the first packet, but then switch to one of the available &amp;quot;pipes&amp;quot; that the PRX have, so you ensure that normally every PTX use their own address.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>