<?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>BLE TX buffer overflow</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12326/ble-tx-buffer-overflow</link><description>Hi, 
 I want to send a continuous stream of data very quickly into the nRF51 through SPI and then dispatching it to a smartphone via BLE. 
 However I keep getting BLE no buffer error. What is the quickest way to empty the BLE TX Buffer? 
 Thanks </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 04 Mar 2016 12:56:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12326/ble-tx-buffer-overflow" /><item><title>RE: BLE TX buffer overflow</title><link>https://devzone.nordicsemi.com/thread/46650?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2016 12:56:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3eb249cf-d100-4640-a0fd-f3230624103a</guid><dc:creator>John</dc:creator><description>&lt;p&gt;What is your connection interval set to as it looks like you are already doing #1 below. What data rate are you attempting to achieve?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE TX buffer overflow</title><link>https://devzone.nordicsemi.com/thread/46651?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 22:01:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6362da06-713f-4060-a728-7c78d2040ee2</guid><dc:creator>John</dc:creator><description>&lt;p&gt;I believe there are a number of questions with answers that you can find here on the Devzone if you search for &amp;quot;BLE_ERROR_NO_TX_BUFFERS&amp;quot;. That said, the brief answer is that there really are two things you can do:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Stuff as many packets as you can onto the radio until you get the no buffer error. Then wait for the TX complete event. When you get the TX complete event, start stuffing buffers onto the radio again as fast as possible until you get the next buffer full error. Repeat as long as necessary.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Set the connection interval as low as possible. Some central devices will allow you to go down as low as 7.5mS between connect events. The radio will be able to transmit another burst of packets every time it gets a connect event.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>