<?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 many no-read events can be stored in nRF8001 at a specific time?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17457/how-many-no-read-events-can-be-stored-in-nrf8001-at-a-specific-time</link><description>Hi, 
 I am using nRF8001 with a MCU from PIC18F family. I have successfully configured nRF8001 to send and receive data through the nordic UART pipe (I used the app nRF UART to test it). I am using also the non-interrupt interface, i.e, I get a new event</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Nov 2016 12:24:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17457/how-many-no-read-events-can-be-stored-in-nrf8001-at-a-specific-time" /><item><title>RE: How many no-read events can be stored in nRF8001 at a specific time?</title><link>https://devzone.nordicsemi.com/thread/67082?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 12:24:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7f057c27-89c7-4383-b750-dad2444ae183</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;It&amp;#39;s on link layer, the application doesn&amp;#39;t need to take care of it. You can read more about flow control &lt;a href="https://devzone.nordicsemi.com/blogs/841/bluetooth-smart-and-the-nordics-softdevices-part-2/"&gt;here&lt;/a&gt; at section II chapter B.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How many no-read events can be stored in nRF8001 at a specific time?</title><link>https://devzone.nordicsemi.com/thread/67083?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 12:02:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b71df54c-5b2f-47ef-b66b-679cb0326002</guid><dc:creator>didier</dc:creator><description>&lt;p&gt;Just curious, this ACK and NACK packages are sent automatically by the radio link (on a layer in which I have no control of), or it is something that i should go and implement on the application controller side? I checked the datasheet (topic 20 - Service pipes) and the ACK part is something owned by the ACI and then echoed by the radio to the peer device. Also the characteristic for RX UART is &amp;quot;Write without response). [EDIT] - nRF8001 is the GATT server (forgot to mention it)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How many no-read events can be stored in nRF8001 at a specific time?</title><link>https://devzone.nordicsemi.com/thread/67084?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 08:58:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ae9afb20-a6a4-44bc-a43e-58f3d566e59e</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The nRF8001, has 3 data buffers for RX , if the RX buffers are full, i.e. the application has not yet emptied it over the SPI interface, then the radio link will start NACKing so new data cannot be sent from the peer.&lt;/p&gt;
&lt;p&gt;I.e. no data should be lost if the application controller is slower than the radio link in getting the data out.&lt;/p&gt;
&lt;p&gt;Note: this will not trigger the supervision timeout in the NACK&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How many no-read events can be stored in nRF8001 at a specific time?</title><link>https://devzone.nordicsemi.com/thread/67081?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 08:47:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69658adf-347a-42bf-8577-f73a26df1177</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Didier,&lt;/p&gt;
&lt;p&gt;The size of receiving buffer on the nRF8001 is not available to the application.&lt;/p&gt;
&lt;p&gt;However, the nRF8001 will NACK new packet if its buffer is full (when the main MCU too busy to fetch data out).
So you won&amp;#39;t lose any packet since the central will have to retransmit the packet that get NACKed.&lt;/p&gt;
&lt;p&gt;[EDIT]This part was wrong:&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If the MCU continue to fail to read the RX packet out, until connection supervision timeout, the connection will be terminated.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Agree with David, no timeout when NACKed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>