<?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>the module of the esb</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/986/the-module-of-the-esb</link><description>Hi,
1. I have some puzzles,please give me some explanations,thank you!
In my design,I use some 51822 devices as tags which can communicate with the host.
The tags can send the temperature value to the host,and the host can receive the data and send</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Nov 2013 03:23:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/986/the-module-of-the-esb" /><item><title>RE: the module of the esb</title><link>https://devzone.nordicsemi.com/thread/4667?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2013 03:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f502cab-f87a-451a-9974-752e6f54d32a</guid><dc:creator>Bastiaan</dc:creator><description>&lt;p&gt;Thank you for your answers.
The first problem is that I set the channel before the  (void)nrf_esb_init(NRF_ESB_MODE_PRX);so it doesn&amp;#39;t work.
The second problem is that all the devices use the same pipe.so I should use the different ID to distinguish them.However,I want to know if there are many devices,how the host to know which device the data are from? By the data_ready() callback function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: the module of the esb</title><link>https://devzone.nordicsemi.com/thread/4668?ContentTypeID=1</link><pubDate>Tue, 26 Nov 2013 03:23:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfa08f5d-69b5-484f-81c0-fb822504f875</guid><dc:creator>Guest</dc:creator><description>&lt;p&gt;Thank you for your answers.
The first problem is that I set the channel before the  (void)nrf_esb_init(NRF_ESB_MODE_PRX);so it doesn&amp;#39;t work.
The second problem is that all the devices use the same pipe.so I should use the different ID to distinguish them.However,I want to know if there are many devices,how the host to know which device the data are from? By the data_ready() callback function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: the module of the esb</title><link>https://devzone.nordicsemi.com/thread/4666?ContentTypeID=1</link><pubDate>Mon, 25 Nov 2013 14:26:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9c7a538-2e54-4099-900a-b2faa8aa2012</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Beware that you can change the configuration of the ESB module only when it&amp;#39;s disabled, so you should always make sure that you check the status returned by the functions. In your case, it might be that the new configuration isn&amp;#39;t used at all, if you call this without first disabling ESB.&lt;/p&gt;
&lt;p&gt;As for the latter, you can for example configure each of the devices with their own pipe. You can then check the rx_pipe argument of your data_ready() callback function to know which device sent the data&lt;/p&gt;
&lt;p&gt;Another option could be to include some identification byte in the payload. This is particularly useful if you need to receive data from more devices than the number of pipes available.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>