<?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>piggyback fails with 6 transmitters</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5618/piggyback-fails-with-6-transmitters</link><description>Hi, 
 I&amp;#39;m close to finishing the implementation of a system with a recording device with nrf51822, working with 6 sensors with nrf24L01. 
 The recorder is in receiving mode, sensors are in transmitter mode, each talking to a different pipe of the receiver</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Feb 2015 16:16:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5618/piggyback-fails-with-6-transmitters" /><item><title>RE: piggyback fails with 6 transmitters</title><link>https://devzone.nordicsemi.com/thread/19685?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 16:16:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c568ee5-3a69-44a4-a7c0-42cc3b3cc036</guid><dc:creator>Landry</dc:creator><description>&lt;p&gt;Thank you for your help.
I work with custom hardware, and it&amp;#39;s a big project, so the code &amp;quot;as is&amp;quot; may not be very useful.
I&amp;#39;m writing a simple project running on PCA10000 board to go further in tests, but for now I can give you the following sample code illustrating failure, that checks the content you asked for.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;if(!ESB_isEmetteur())
{
	if(!nrf_esb_add_packet_to_tx_fifo(currentPipe, buf, 32, NRF_ESB_PACKET_USE_ACK);//NRF_ESB_PACKET_NO_ACK))
{
	afterPipeState = nrf_esb_get_enabled_prx_pipes();//contains 0x3F
	afterThisTXFifoNbOfPackets = nrf_esb_get_tx_fifo_packet_count(currentPipe);//contains 0
	afterAllTXFifoNbOfPackets = nbPacketsInAllTxFifos();	//contains 4, recursive nrf_esb_get_tx_fifo_packet_count for all pipes 
	afterNRFEnabled = nrf_esb_is_enabled(); //contains 1
}
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Is there any other quick tests I might perform ?
Thank you,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: piggyback fails with 6 transmitters</title><link>https://devzone.nordicsemi.com/thread/19684?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 13:42:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5dbea14-aef9-44e1-9a5b-0894d56a3abc</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Would it be possible to share your code with us? &lt;a href="https://www.nordicsemi.com/eng/Support-Community"&gt;I would encourage you to open a new support case in our MyPage system on our website in order to keep your code private.&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The nrf_esb_add_packet_to_tx_fifo returns a zero/false if:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;If pipe was invalid, payload pointer
was NULL, payload length was invalid,
insufficient space in FIFO memory pool
or insufficient packets in TX queue.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Could it be that one of the parameters are not fulfilled. For example is the pipe closed? What if you try to re-open the pipe in question? What&amp;#39;s the fifo status on the pipe when you see the occur?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>