<?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>CUSTOM UUID DISCOVERY</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/45232/custom-uuid-discovery</link><description>Hi all, 
 Is there any example to discover the custom UUID services with pc-ble-driver c/c++? As far as I understood, the ble_db_discovery is not supported for this driver. 
 The issue is sd_ble_gattc_primary_services_discover() only accept the ble_uuid_t</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 25 Jun 2019 10:50:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/45232/custom-uuid-discovery" /><item><title>RE: CUSTOM UUID DISCOVERY</title><link>https://devzone.nordicsemi.com/thread/194610?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 10:50:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7d8cd0a-50f4-4f6c-90c7-2bc3d0debda0</guid><dc:creator>Mehrdad</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Yes, I did. I can quickly let you know what I did. only one question, are you using pc-ble-driver?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;1. First, defined vendor specific uuid and&amp;nbsp;the service&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1561459433129v2.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;2.&amp;nbsp;Second, added this service to BLE stack and then started service discovery&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1561459741445v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Hope can be helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CUSTOM UUID DISCOVERY</title><link>https://devzone.nordicsemi.com/thread/194566?ContentTypeID=1</link><pubDate>Tue, 25 Jun 2019 09:22:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6263e2ac-90d7-4c40-a5b4-c78f7fa46e36</guid><dc:creator>LCC</dc:creator><description>&lt;p&gt;Hi Mehrdad,&lt;/p&gt;
&lt;p&gt;May i know how did you managed to find the custom uuid? I managed to find a few which are 16 bits but i am unable to find those with 128 bits.&lt;/p&gt;
&lt;p&gt;Your help is greatly appreciated.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CUSTOM UUID DISCOVERY</title><link>https://devzone.nordicsemi.com/thread/181140?ContentTypeID=1</link><pubDate>Tue, 09 Apr 2019 15:46:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:03a9b754-b7bb-4311-b543-7d541665addc</guid><dc:creator>Mehrdad</dc:creator><description>&lt;p&gt;Thanks a lot for the following up. I solved the problem and I had to write the service discovery myself since all the characteristics are not discovered at once.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CUSTOM UUID DISCOVERY</title><link>https://devzone.nordicsemi.com/thread/178033?ContentTypeID=1</link><pubDate>Mon, 25 Mar 2019 09:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e206c46-8cd5-4abe-a8b5-5de2305c6425</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Mehrdad&lt;/p&gt;
&lt;p&gt;I of course meant ble_gatt_db.h file, so if you didn&amp;#39;t see past my typo please use that header file. If it isn&amp;#39;t supported you should have a look at how the BLE_GATT_DB_MAX_CHARS is implemented, to see how exactly it changes the maximum characteristics discoverable.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CUSTOM UUID DISCOVERY</title><link>https://devzone.nordicsemi.com/thread/177881?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 14:58:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c7a9ef84-07a7-42c9-b2eb-e5e8ce6d7cc4</guid><dc:creator>Mehrdad</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Yes, it is a central app that I am developing in Windows. Unfortunately, pc ble driver in c++ does not support gat_db discoveries and its dependencies are not included&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CUSTOM UUID DISCOVERY</title><link>https://devzone.nordicsemi.com/thread/177871?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 14:40:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1d46f53b-78cf-4d57-a671-a28a886fb590</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Mehrdad&lt;/p&gt;
&lt;p&gt;Is this a central application? If so, could you try adding this define to the ble_gat_db.h header file?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;#define BLE_GATT_DB_MAX_CHARS&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CUSTOM UUID DISCOVERY</title><link>https://devzone.nordicsemi.com/thread/177861?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 14:18:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fc35d49-21db-43be-b333-742da16abe34</guid><dc:creator>Mehrdad</dc:creator><description>&lt;p&gt;Hi Simon,&lt;/p&gt;
&lt;p&gt;Thanks for the helpful solution. I know the custom UUID in the server, and I implemented the discovery. Now, my problem is all the characteristics are not discovered. Only the first one in the service is discovered. I have another&amp;nbsp;SIG-adopted service (device information service),&amp;nbsp;and the client can only discover three&amp;nbsp;of the characteristics. The interesting point for me is it can find&amp;nbsp;the start handle and the last one correctly, but it only returns&amp;nbsp;three of them. Do you know what the problem is?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: CUSTOM UUID DISCOVERY</title><link>https://devzone.nordicsemi.com/thread/177809?ContentTypeID=1</link><pubDate>Fri, 22 Mar 2019 11:45:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62c3206c-d48b-4b83-9b56-fb13e1a64158</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;span&gt;If this is a known UUID, you should add it to your list of vendor specific UUID&amp;#39;s prior to the service discovery. You will then get the UUID back with the&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v0.9.0%2Fstructble__uuid__t.html&amp;amp;resultof=%22ble_uuid_t%22%20"&gt;UUID type&lt;/a&gt;&lt;/span&gt;&lt;span&gt;. If you don&amp;#39;t know the vendor specific UUID, you should use the&amp;nbsp;&lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.api.v6.1.0%2Fgroup___b_l_e___g_a_t_t_c___f_u_n_c_t_i_o_n_s.html&amp;amp;cp=2_3_1_1_0_2_2_2_0&amp;amp;anchor=ga8b7ff74ff996da8340f69c208bfd0ec4"&gt;sd_ble_gattc_attr_info_discover&lt;/a&gt;&amp;nbsp;function to get the UUID. (I am not sure if the latter function is supported in pc-ble-driver, but please give it a try.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>