<?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>Discovery all attribute UUIDs</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10028/discovery-all-attribute-uuids</link><description>Hi, 
 I want to discovery all attribute UUIDs as Master Control panel application does. I use API function &amp;#39;sd_ble_gattc_primary_services_discover&amp;#39; to discovery.
Exactly, sd_ble_gattc_primary_services_discover(connection_handle, Start_handle, NULL)</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Nov 2015 12:31:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10028/discovery-all-attribute-uuids" /><item><title>RE: Discovery all attribute UUIDs</title><link>https://devzone.nordicsemi.com/thread/37162?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 12:31:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ea3022d7-0822-47d8-95f5-110e5c2fdb85</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;You should be able to discover all services if you do it step by step. Each discovery will have 2 PDUs, a request and a response. In the next cycle you continue from the last handle from the previous response. So you should be able to discover as many services as you&amp;#39;d like. Are you sure you are handling the response from the peer correctly?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Discovery all attribute UUIDs</title><link>https://devzone.nordicsemi.com/thread/37161?ContentTypeID=1</link><pubDate>Tue, 03 Nov 2015 10:21:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4de21a86-d178-4f61-a826-a1e8aabfcfc4</guid><dc:creator>endnode</dc:creator><description>&lt;p&gt;Hi HJ,&lt;/p&gt;
&lt;p&gt;You need to do your &amp;quot;service discovery&amp;quot; procedure meaning you need to implement some kind of algorithm which will allow you to get all LE (G)ATT values on server side (GAP Peripheral role I suppose in your case). BT SIG just specifies simple commands which are issued and you need to parse the answers and decide what handle range or specific handle you will explore next. There are some basic examples how to do it efficiently (you can get inspiration in any GAP Central device e.g. phone or tablet by sniffing first part of BLE connection).&lt;/p&gt;
&lt;p&gt;However Nordic nRF51/52 SDKs provide GAP Central examples which have this implemented, you can also read through &lt;a href="https://devzone.nordicsemi.com/question/15930/s130-custom-uuid-service-discovery/"&gt;this&lt;/a&gt; post.&lt;/p&gt;
&lt;p&gt;Cheers Jan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>