<?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>SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/34748/sdk-14-0-ble-connection-slower-than-sdk-11-0</link><description>I recently upgraded from SDK 11.0 to SDK 14.0 and am seeing much slower connection speeds from the new SDK. The old version would connect in about 400ms, but the new SDK takes over 1000ms for the connection to complete. I think I&amp;#39;m probably missing some</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Aug 2018 12:07:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/34748/sdk-14-0-ble-connection-slower-than-sdk-11-0" /><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/142599?ContentTypeID=1</link><pubDate>Thu, 02 Aug 2018 12:07:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1213416-7ead-41e6-9364-a8cf408f0d57</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Nate,&lt;/p&gt;
&lt;p&gt;the reduction in the time from the CONNECT_REQ packet to the last L2CAP Data packet on the subsequent connections are likely due to GATT table caching, i.e. the central is not performing the Service Discovery as it already has a up-to-date GATT table stored.&lt;/p&gt;
&lt;p&gt;However, I would expect that to happen with your application as well. Do you have a trace of the custom app for one of the following connections after the initial one where the central cache was wiped?&lt;/p&gt;
&lt;p&gt;I compared the response time for the various LL packets sent between the Master and Slave after the CONNECT_REQ packet for SDK14multiperipheral and SDK14_NokeApp traces&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SDK14multiperipheral.pcapng&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;LL_Version_IND: 0.0165s&lt;/p&gt;
&lt;p&gt;LL_Feature_REQ -&amp;gt; RSP: 0.2168s&lt;/p&gt;
&lt;p&gt;LL_PHY_REQ -&amp;gt; RSP: 0.1446s ( LL_PHY_RSP packet is retransmitted once, first is sent 0.1358s)&lt;/p&gt;
&lt;p&gt;LL_PHY_UPDATE_IND ( Master to Slave only) : Retransmitted once&lt;/p&gt;
&lt;p&gt;LL_LENGTH_REQ -&amp;gt; RSP: 0.0309&lt;/p&gt;
&lt;p&gt;LL_LENGTH_REP -&amp;gt; Last L2CAP packet: 0.6981 seconds&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;SDK14_NokeApp.pcapng&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;LL_Version_IND: 0.01432s&lt;/p&gt;
&lt;p&gt;LL_Feature_REQ -&amp;gt; RSP: 0.03300s ( LL_Feature_REQ is retransmitted once, most likely due to the first LL_Feature_RSP being missed by the Master)&lt;/p&gt;
&lt;p&gt;LL_PHY_REQ: 0.1365s ( LL_PHY_RSP packet is retransmitted once, first is sent 0.1236s after LL_PHY_REQ )&lt;/p&gt;
&lt;p&gt;LL_PHY_UPDATE_IND ( Master to Slave only) : Retransmitted once&lt;/p&gt;
&lt;p&gt;LL_LENGTH_REQ -&amp;gt; RSP: 0.1406s&lt;/p&gt;
&lt;p&gt;LL_LENGTH_RSP -&amp;gt; Last L2CAP packet: 0.8950 seconds&lt;/p&gt;
&lt;p&gt;There arent any big differences if you take into account the retransmitts. The only odd one out is the&amp;nbsp;LL_LENGTH_REQ -&amp;gt; RSP, which takes longer in the custom app trace. Why, I do not know, but I expect that this might vary from connection to connection depending on how many connections the nRF52832 have going on concurrently and their connection intervals etc.&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: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/141191?ContentTypeID=1</link><pubDate>Tue, 24 Jul 2018 14:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7445008f-7122-4f72-a6a2-660136b1e756</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Nate,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I have been on vacation so I apologize for the late reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I will look into the attached traces and come back to you with my finding as soon as possible.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/139313?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 19:32:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f6a74c4b-f713-4bf3-baf6-541fcd5b7973</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;Bjorn,&lt;/p&gt;
&lt;p&gt;The sample application I am comparing against is the multiperipheral app. I have taken all the traces again and done the connection process at least twice in each one. I was using two different phones (both iPhones, but different generations) but this time used the same phone for all three scenarios. The softdevice is the same for both SDK 14 applications (S132 v5.0.0).&lt;/p&gt;
&lt;p&gt;In this process I noticed some very interesting behavior. The SDK 11 app took 1.02s for the first connection (after cache had been cleared) but then following connections only took 0.32s. The multiperipheral sample app took a little longer for the first time with 1.18s but then following connections only take 0.59s, which makes some sense because the newer SDK supports more Bluetooth settings and these have to be negotiated. But then our custom app takes 1.35s on the initial connection and then 1.42s on all following connections which is the long period we have been observing. I will note that for both SDK apps I have set the PHY to use the 1MBPS phy to avoid the phy reconfiguration time.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SDK11_5F00_trace2.pcapng"&gt;devzone.nordicsemi.com/.../SDK11_5F00_trace2.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SDK14multiperipheral.pcapng"&gt;devzone.nordicsemi.com/.../SDK14multiperipheral.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SDK14_5F00_NokeApp.pcapng"&gt;devzone.nordicsemi.com/.../SDK14_5F00_NokeApp.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/139267?ContentTypeID=1</link><pubDate>Fri, 06 Jul 2018 13:31:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:becaf8f3-7f5b-404c-b368-3c366dd36ec3</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Nate,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;comparing SDK14sampleApp.pcapng and&amp;nbsp;SDK14_1MBPS_Phy.pcapng I see that all the L2CAP transfers are completed after 1.15seconds and1.55seconds respectiveley. This is much less than the Discovery_sniffer_trace4.pcapng trace, where I am seeing ~1.86seconds. But you&amp;#39;re saying that the sample application from our SDK 14( which one is it by the way?) finishes service discovery much faster than your custom example based on SDK 14?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The&amp;nbsp;SDK14_1MBPS trace is also missing the LL_VERSION_IND sent from the slave to the master. Could you re-do this capture?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I also see that both the Feature set of the Master(LL_FEATURE_REQ) and the feature set of the Slave(LL_FEATURE_RSP) are different for both traces.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;To me it looks like two different centrals have been used as the Master in SDK14_1MBPS supports nearly everything, while the one in SDK14sampleApp only supports LE Encryption and LE Ping. Are you using two different central devices?&lt;/p&gt;
&lt;p&gt;If we look at the slaves the only difference is that the slave in SDK14_1MBPS supports LE 2M PHY and the other does not, which is weird as I do not think this is configurable from the application in SDK 14.x.x. Can you confirm that you&amp;#39;re using the same SoftDevice in your application as the one used in the SDK 14 example?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/139150?ContentTypeID=1</link><pubDate>Thu, 05 Jul 2018 16:16:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ccf9f05-411e-438f-a38b-3f91ee5b7294</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;Bjorn,&lt;/p&gt;
&lt;p&gt;That is very interesting. I have tried this change in the past to no avail and I tried it again and am seeing no change. I have a sniffer trace of this connection with the phy set to 1MBPS.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SDK14_5F00_1MBPS_5F00_Phy.pcapng"&gt;devzone.nordicsemi.com/.../SDK14_5F00_1MBPS_5F00_Phy.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;It is also interesting because the sample application also uses the Auto Phy parameter and doesn&amp;#39;t have the slow discovery. Here is a sniffer trace of that.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SDK14sampleApp.pcapng"&gt;devzone.nordicsemi.com/.../SDK14sampleApp.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;And finally I have a sniffer trace of our application from SDK 11.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SDK11.pcapng"&gt;devzone.nordicsemi.com/.../SDK11.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/138931?ContentTypeID=1</link><pubDate>Wed, 04 Jul 2018 10:48:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4d320457-aada-4c56-b1d0-a5c7dc114d8d</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Nate,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the trace, this one is much better.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;From the trace it looks like its the switch from 1Mbit to 2Mbit PHY that is the main contributor to the service discovery taking longer time than SDK 11 where 2Mbit was not supported. This PHY change postpones the&amp;nbsp;service discovery, which is not started until after the LL_Channel_Map_Request&lt;/p&gt;
&lt;p&gt;You can try to force the nRF52 to stay in 1Mbit mode by modifying the&amp;nbsp;BLE_GAP_EVT_PHY_UPDATE_REQUEST case in&amp;nbsp;ble_evt_handler() in main.c to the following&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;case BLE_GAP_EVT_PHY_UPDATE_REQUEST:
{
    NRF_LOG_DEBUG(&amp;quot;PHY update request.&amp;quot;);
    ble_gap_phys_t const phys =
    {
        .rx_phys = BLE_GAP_PHY_1MBPS,
        .tx_phys = BLE_GAP_PHY_1MBPS,
    };
    err_code = sd_ble_gap_phy_update(p_ble_evt-&amp;gt;evt.gap_evt.conn_handle, &amp;amp;phys);
    APP_ERROR_CHECK(err_code);
} break;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;It would also be useful if you could capture a trace of the SDK v11.0.0 application connecting to the same central used to connect to the SDK 14.0.0 application&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/138805?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 15:18:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a02ace04-28e3-439d-a159-44eb6904b219</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;Yes, we are broadcasting while in a connection to enable multiple devices to be able to connect.&lt;/p&gt;
&lt;p&gt;I have a new trace that seems to have all the connection information in it now.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Discovery_5F00_sniffer_5F00_trace4.pcapng"&gt;devzone.nordicsemi.com/.../Discovery_5F00_sniffer_5F00_trace4.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/138804?ContentTypeID=1</link><pubDate>Tue, 03 Jul 2018 15:02:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:304187d4-ef12-411c-b62d-013a47ffe05e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Ok I have taken a look at the trace. Your application is acting as a broadcaster while its in a connection right? As I am seeing a lot of advertisement packets and scan requests/ responses in the trace.&lt;/p&gt;
&lt;p&gt;I see the connection request, but its a bit wierd that the sniffer does not recognize the empty PDUs and instead sets them as unknown.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I can also not see any service discovery procedure in the trace either, i.e. like&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v6.0.0/group___b_l_e___g_a_t_t_c___p_r_i_m___s_r_v_c___d_i_s_c___m_s_c.html"&gt;GATTC Primary&amp;nbsp;Service&amp;nbsp;Discovery&lt;/a&gt;&amp;nbsp;(note this is for a nrf5x device acting as a central, but we should see the same in the trace when the smartphone performs the discovery) . It could be that the iOS/Android device has cached the services/characteristics so you can try to disable and then re-enable Bluetooth on the smartphone and then perform a new trace.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/138615?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 20:44:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:161b2f6d-07f3-49c4-80d6-1791be91b249</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;Ok, I have generated another sniffer trace and in this one I can finally see CONNECT_REQ packets.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Discovery_5F00_sniffer_5F00_trace3.pcapng"&gt;devzone.nordicsemi.com/.../Discovery_5F00_sniffer_5F00_trace3.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/138545?ContentTypeID=1</link><pubDate>Mon, 02 Jul 2018 14:01:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d67586a8-1fdb-40dc-b62e-a350bde314d8</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Nate,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;it should be as simple as selecting the device in the highlighted drop-down menu when it is advertising and then initiate the connection request from the central.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d792310ca1fa407d9e6603e233018f8c/pastedimage1530539932698v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;You should then see the CONNECT_REQ packet and the Source and Destination field should indicate which device is the link&amp;nbsp;master and slave.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/138188?ContentTypeID=1</link><pubDate>Thu, 28 Jun 2018 16:42:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac7b041a-05f9-4580-972e-e82547924229</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;Here is another sniffer trace where I selected our peripheral device and then did the connection. I can&amp;#39;t seem to see the connection traffic, so I think there may still be something I need to do with the sniffer to get it to see that traffic.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Discovery_5F00_sniffer_5F00_trace2.pcapng"&gt;devzone.nordicsemi.com/.../Discovery_5F00_sniffer_5F00_trace2.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/137929?ContentTypeID=1</link><pubDate>Wed, 27 Jun 2018 14:01:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4a975b37-0406-4232-bb9e-25c594675763</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Nate,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;turns out I had not enabled NORDIC_BLE as an Enabled Protocol under Analyze-&amp;gt; Enabled Protocols, so now I am able to see the protocol information in the trace you attached, which is all advertisement packets.&lt;/p&gt;
&lt;p&gt;Yes, you need to select the peripheral device in the Device drop-down menu in Wireshark, it will then follow the device from advertising into the connect state.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/support-attachments/beef5d1b77644c448dabff31668f3a47-d792310ca1fa407d9e6603e233018f8c/pastedimage1530108013123v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/137766?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 21:56:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b7a031e-17d4-4e5c-b36d-e04e01e08e04</guid><dc:creator>Nate</dc:creator><description>&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;margin-top:0px;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;I have been looking to see if I can find any unhandled events, but as far as I can tell we are handling all the events that the examples handle.&lt;/p&gt;
&lt;p style="color:#000000;font-family:Arial, Helvetica, sans-serif;font-size:12px;font-style:normal;font-weight:400;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;"&gt;I captured the trace with the nordic sniffer v2 and Wireshark, but I have never used it before this. Do you have any recommendations for how to set it up to capture the connection traffic as well?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/137633?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 09:19:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bf72342f-80b9-4e13-8ed1-b2217d605afa</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;OK, if the SDK 14.0.0 examples show the correct behaviour then I think its likely that there is some event that is propagated to the application by the SoftDevice, but its not handled.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;How did you capture the trace? I opened it using Wireshark, but I am not getting any protocol information, hence its a bit hard to see whats going on. Alternatively, we could make the case private and you could share the application code so that I could debug and perform sniffer traces. This is of course provided that the code runs on&amp;nbsp; NRF52 DK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/137562?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 05:10:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:176896a1-4e26-4605-a5b4-d98099862a64</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;Bjorn,&lt;/p&gt;
&lt;p&gt;We are using our own custom application which we based off the uart and multiperipheral examples. I tested those two examples and they work just fine. I&amp;#39;m thinking this means that we have some configuration parameters set incorrectly, but I have no idea which parameters control this behavior.&lt;/p&gt;
&lt;p&gt;I am attaching a sniffer trace of the slow discovery. Our device is the one with address&amp;nbsp;f3:fd:35:fb:c1:5e and the central device is address Apple_97:bd:b8.&lt;br /&gt;We use both Android and Apple devices for the central devices and have seen the same behavior out of both of them.&lt;br /&gt;Thanks for your help&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Discovery_5F00_sniffer_5F00_trace.pcapng"&gt;devzone.nordicsemi.com/.../Discovery_5F00_sniffer_5F00_trace.pcapng&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/137471?ContentTypeID=1</link><pubDate>Mon, 25 Jun 2018 14:04:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8023a708-d5bf-45aa-96db-f90f2de7960d</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;HI Nate,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I apologize for the late reply.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are you testing this with the generic SDK examples or are you using custom application examples?&lt;/p&gt;
&lt;p&gt;Are you able to provide sniffer traces of the transactions so that we can compare the packets that are sent on air and their timing? Adjusting the advertisment interval will not affect the service discovery procedure as this is controlled by the central.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Which type of central device are you using? Are you seeing the same behaviour with different central devices?&lt;br /&gt;&lt;br /&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/136877?ContentTypeID=1</link><pubDate>Wed, 20 Jun 2018 09:38:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dc316864-935a-475e-b719-b70938b26652</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;&lt;span&gt;The central is doing a service discovery and then a characteristic discovery. After timing these operations on the central side it appears these two actions are the ones that are much slower than they were with the past SDK (and acompanying Soft Device). The problem that I am seeing though is that as far as I can tell there is no action on the part of my application during these processes, that it is all handled by the Soft Device. Are there settings that could be affecting this or maybe advertising paramaters that would help speed this up?&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/133870?ContentTypeID=1</link><pubDate>Tue, 29 May 2018 14:40:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:410cd1c2-8e14-4f04-9b5b-71a2f9a79d8e</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Nate,&lt;/p&gt;
&lt;p&gt;I apologize for the late reply.&lt;/p&gt;
&lt;p&gt;the connection is established when&amp;nbsp; you get the BLE_GAP_EVT_CONNECTED event and the BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST is not apart of the connection setup, see&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___g_a_p___c_o_n_n___m_s_c.html"&gt;Peripheral Connection Establishment and Termination&lt;/a&gt;. The&amp;nbsp;BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST propagated to the application when the peer has sent a ATT Write/Read Request with authorization to the nRF device, see the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___g_a_t_t_s___r_e_a_d___r_e_q___a_u_t_h___m_s_c.html"&gt;GATTS Read Request with Authorization&lt;/a&gt;&amp;nbsp;or &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v5.0.0/group___b_l_e___g_a_t_t_s___r_e_a_d___r_e_q___a_u_t_h___m_s_c.html"&gt;GATTS Write Request with Authorization&lt;/a&gt;&amp;nbsp;Message Sequence charts in the S132 v5.0.0 API documentation.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hence, the time between the&amp;nbsp;BLE_GAP_EVT_CONNECTED and the&amp;nbsp;BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST event is determined by the peer that is issuing the write or read request with authorization.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Could you explain what the central that is connected to your peripheral is doing after the connection is established? Is it writting to one or more characteristics?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/133490?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 16:23:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:817bbf36-f2e7-440d-a7be-0443c74c6eb2</guid><dc:creator>Nate</dc:creator><description>&lt;p&gt;I&amp;#39;m measuring the time between BLE_GAP_EVT_CONNECTED to the time of BLE_GATTS_EVT_RW_AUTHORIZE_REQUEST when all the handshaking and discoveries have been completed. Maybe I&amp;#39;m wrong to refer to this as &amp;quot;connection&amp;quot; but this is the time that is taking much longer and causing issues.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SDK 14.0 BLE Connection slower than SDK 11.0</title><link>https://devzone.nordicsemi.com/thread/133455?ContentTypeID=1</link><pubDate>Fri, 25 May 2018 14:21:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a043928f-6e66-43e5-90bd-027e34620a73</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Nate,&lt;/p&gt;
&lt;p&gt;do mean the time from the peripheral receiving the connection request from the central to the&amp;nbsp;&amp;nbsp;BLE_GAP_EVT_CONNECTED event is received in the peripheral application? Or are you measuring this in another way?&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>