<?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>Missed GATTC Write Response</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/41673/missed-gattc-write-response</link><description>Hello, 
 I&amp;#39;m using the nRF52 DK with SDK 15 and SD132 6.1.0. I have a custom service running that requires periodic characteristic writes. Occasionally when writing to this characteristic, sd_ble_gattc_write returns 0x11 (NRF_ERROR_BUSY). When this happens</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 19 Dec 2018 22:01:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/41673/missed-gattc-write-response" /><item><title>RE: Missed GATTC Write Response</title><link>https://devzone.nordicsemi.com/thread/162567?ContentTypeID=1</link><pubDate>Wed, 19 Dec 2018 22:01:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d59ae25-0cc6-4e70-89df-3cb6d7709f41</guid><dc:creator>ejoyce</dc:creator><description>&lt;p&gt;Thanks for the response. The connection interval was 30 ms so it&amp;#39;s likely that the scan window was causing missed connection events. I modified the scan interval, scan window, connection interval, and connection event length to better suit my application.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Missed GATTC Write Response</title><link>https://devzone.nordicsemi.com/thread/162331?ContentTypeID=1</link><pubDate>Tue, 18 Dec 2018 15:26:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:497cdf6c-1b88-496f-b75c-71850741bd47</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Q1: What kind of connection interval are you using? How many connections is running concurrently? If the scan window is much larger than the connection interval, then some connection events may be dropped, see&amp;nbsp;S132 SDS v6.1 Chapter&amp;nbsp;15.4.1 Primary channel scanner timing.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-78959236b8964e75ac7c7b6daf062789/pastedimage1545146736858v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Q2: The SoftDevice scheduler will schedule the connection events before the scanner events as shown in the above screenshot from the S132 v6.1 PS. Given that the scan window is not to long.&lt;/p&gt;
&lt;p&gt;Q3: No, if the peer never replies to the Write Request, then the BLE_GATTC_EVT_TIMEOUT event will be generated and the link is considered lost and reconnection is required.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Missed GATTC Write Response</title><link>https://devzone.nordicsemi.com/thread/162158?ContentTypeID=1</link><pubDate>Mon, 17 Dec 2018 17:36:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fca6883a-7fbe-4aa3-8202-739abb63d89d</guid><dc:creator>ejoyce</dc:creator><description>&lt;p&gt;Forgot to mention scan interval is 160 * 0.625 ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>