<?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>sd_ble_gattc_write and BLE_GATTC_EVT_WRITE_RSP problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26190/sd_ble_gattc_write-and-ble_gattc_evt_write_rsp-problem</link><description>Hi all 
 I&amp;#39;m trying to send 180 bytes using sd_ble_gattc_write(). Writing 20 bytes at a time with the BLE_GATT_OP_WRITE_REQ write_op works. But now I&amp;#39;m trying to speed things up by sending packets of 18 bytes each with BLE_GATT_OP_PREP_WRITE_REQ and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 25 Oct 2017 14:27:55 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26190/sd_ble_gattc_write-and-ble_gattc_evt_write_rsp-problem" /><item><title>RE: sd_ble_gattc_write and BLE_GATTC_EVT_WRITE_RSP problem</title><link>https://devzone.nordicsemi.com/thread/103150?ContentTypeID=1</link><pubDate>Wed, 25 Oct 2017 14:27:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a7d6680b-e719-4dce-9b29-220a478ca47e</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;What nRF device are you using? This is a central application?&lt;/li&gt;
&lt;li&gt;What SDK version are you using?&lt;/li&gt;
&lt;li&gt;Is this a custom board, or a DK ?&lt;/li&gt;
&lt;/ul&gt;
&lt;blockquote&gt;
&lt;p&gt;Problem with the multiple writes is
that there is only one packet of 20
bytes each connection interval.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Only one packet per connection interval with indication, but multiple packets per connection interval if you use notification instead. If both sides of the link support it, you can increase the ATT MTU size, the default size of the ATT MTU is 23 bytes, but you can increase it to e.g. 247 bytes!&lt;/p&gt;
&lt;p&gt;With e.g. SoftDevice S132 version 3, you only had 6-7 packets per connection interval with notifications, but with the latest S132 version 5, you don’t have this limitation, and the SoftDevice is able to continue sending packets for the whole connection interval if both parts of the link supports it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: sd_ble_gattc_write and BLE_GATTC_EVT_WRITE_RSP problem</title><link>https://devzone.nordicsemi.com/thread/103148?ContentTypeID=1</link><pubDate>Tue, 24 Oct 2017 08:05:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:238f269d-8793-4619-9eec-4b86a9ed933f</guid><dc:creator>Eddie</dc:creator><description>&lt;p&gt;Problem with the multiple writes is that there is only one packet of 20 bytes each connection interval. I was hoping to have 6 - 7 packets (of 18 bytes) each interval by using all buffers. Am I mistaken here?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>