<?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>Why service discovery command of BLE takes a lot of time?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/313/why-service-discovery-command-of-ble-takes-a-lot-of-time</link><description>Hi, I am trying to test my UART using some simple loopback test, and I have noticed that the service discovery command of BLE will occupy the CPU a quite long time. I am just wondering if there is any way to reduce it? Does the SoftDevice handle the service</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 20 Aug 2013 11:19:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/313/why-service-discovery-command-of-ble-takes-a-lot-of-time" /><item><title>RE: Why service discovery command of BLE takes a lot of time?</title><link>https://devzone.nordicsemi.com/thread/1647?ContentTypeID=1</link><pubDate>Tue, 20 Aug 2013 11:19:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:603704de-4590-4cef-8583-f7f6316c95ac</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Service Discovery is a process of discover Primary Services, its relationship and its characteristics UUIDs and values.
This process is described at section 4.4, Part G Vol 3 in Bluetooth Core Specification V4.0&lt;/p&gt;
&lt;p&gt;It&amp;#39;s not a single radio request but requires lots of requests from client to go through the server Attribute table. On each connection event you can only send less than 6 requests, depend on the master property. This explains why service discovery may take a long time if your connection interval is long.&lt;/p&gt;
&lt;p&gt;So the way to speed up service discovery is to reduce the connection interval when doing service discovery. Depend on the master , you can get the connection interval as low as 7.5ms.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>