<?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>return error code BLE_ERROR_NO_TX_BUFFERS from sd_ble_gattc_write()</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10543/return-error-code-ble_error_no_tx_buffers-from-sd_ble_gattc_write</link><description>Hi experts,
The softdevice is s120. I get error code BLE_ERROR_NO_TX_BUFFERS after calling sd_ble_gattc_write() several times. I want to ask what does the tx buffer mean. Does it mean no buffer for the current connection or for all connections? Is there</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Dec 2015 10:19:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10543/return-error-code-ble_error_no_tx_buffers-from-sd_ble_gattc_write" /><item><title>RE: return error code BLE_ERROR_NO_TX_BUFFERS from sd_ble_gattc_write()</title><link>https://devzone.nordicsemi.com/thread/39223?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 10:19:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2270cc39-eac5-4c41-a22f-5cfa38bbc27b</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;You can look at the BLE data throughput section of the S120 &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.pdf.sds/S120_SDS_v2.1.pdf"&gt;softdevice specification&lt;/a&gt;.
This table lists the throughput in kbps. To find the packets/interval, use the following formula:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;N = ( throughput (kbps) * interval(s) ) / (20 * 8)

20: 20 bytes/packets
8: 8 bits/byte
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/question/3440/how-do-i-calculate-throughput-for-a-ble-link/"&gt;this&lt;/a&gt; thread on BLE throughput&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: return error code BLE_ERROR_NO_TX_BUFFERS from sd_ble_gattc_write()</title><link>https://devzone.nordicsemi.com/thread/39222?ContentTypeID=1</link><pubDate>Tue, 01 Dec 2015 02:12:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fc31da8-e925-4c72-9282-d92446efa163</guid><dc:creator>leibin</dc:creator><description>&lt;p&gt;Thanks for the reply! BTW, Is there any document which I can refer to about this?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: return error code BLE_ERROR_NO_TX_BUFFERS from sd_ble_gattc_write()</title><link>https://devzone.nordicsemi.com/thread/39221?ContentTypeID=1</link><pubDate>Mon, 30 Nov 2015 10:33:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:017f91ff-e796-48da-8f36-5ff43425d36b</guid><dc:creator>Anders Strand</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;You have a certain amount of buffers for each connection. In S120, you have room for 1 packet in the output buffer for each connection.&lt;/p&gt;
&lt;p&gt;You can write to a different connection after getting this error from another.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>