<?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>Service and Characteristic discovery of GATT server on central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84548/service-and-characteristic-discovery-of-gatt-server-on-central</link><description>I have implemented a Peripheral on an PCA10040 based on one of the SDK (v15) examples. When using nrf Connect with a nRF51 dongle I can connect to the peripheral and interact with my services on the peripherals GATT server. 
 I now want to do the same</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Feb 2022 13:38:46 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84548/service-and-characteristic-discovery-of-gatt-server-on-central" /><item><title>RE: Service and Characteristic discovery of GATT server on central</title><link>https://devzone.nordicsemi.com/thread/352645?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 13:38:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d2d8965-1f4e-4118-b8e8-1b7c87034aca</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Thanks for the update and feedback. Yes, I agree that it may not be immediately obvious that you have to reference the UUID using the tag returned by&amp;nbsp;&lt;span&gt;&lt;a title="sd_ble_uuid_vs_add" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___b_l_e___c_o_m_m_o_n___f_u_n_c_t_i_o_n_s.html?cp=4_7_3_1_2_0_2_2_8#ga265b4251110a15120d0aa97e5152163b"&gt;sd_ble_uuid_vs_add&lt;/a&gt;&lt;/span&gt;(). &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Service and Characteristic discovery of GATT server on central</title><link>https://devzone.nordicsemi.com/thread/352640?ContentTypeID=1</link><pubDate>Fri, 11 Feb 2022 13:34:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4fb1404-c693-40e5-a1f1-ce1d7f251845</guid><dc:creator>demJanus</dc:creator><description>&lt;p&gt;Yes I did register it. Menwhile I found out that I need to use the handle that gets provided when registering the service and not BLE_UUID_TYPE_VENDOR_BEGIN.&lt;/p&gt;
&lt;p&gt;This could be pointed out a bit more clearly. Not clear to me from the tutorials.&lt;/p&gt;
&lt;p&gt;The following threads gave an indication to the reason for me:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/206/128-bit-uuid-s"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/206/128-bit-uuid-s&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/52390/understanding-advertisement-of-multiple-128-bit-custom-uuid/212429"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/52390/understanding-advertisement-of-multiple-128-bit-custom-uuid/212429&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/21152/db-discovery-failing-with-ble_db_discovery_srv_not_found"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/21152/db-discovery-failing-with-ble_db_discovery_srv_not_found&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your support anyway.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Service and Characteristic discovery of GATT server on central</title><link>https://devzone.nordicsemi.com/thread/352075?ContentTypeID=1</link><pubDate>Wed, 09 Feb 2022 13:04:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0620c7c-69d5-43e7-9961-ce82bd0fae2c</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]If I use the 0x180A for the DIS service instead of the characteristic 0x2A29 the handler is called only twice[/quote]
&lt;p&gt;Yes, it&amp;#39;s the service UUID you need to register with the DB discovery module. The characteristics are then found by you in the discovery_handler() after the service has been discovered. I posted an example of this here: &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/49837/reading-the-central-device-name-smart-phone-in-nrf52dk-peripheral-and-printing-on-the-terminal/199126#199126"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/49837/reading-the-central-device-name-smart-phone-in-nrf52dk-peripheral-and-printing-on-the-terminal/199126#199126&lt;/a&gt; &lt;/p&gt;
[quote user=""]custom service (0000AABBCCDD11223344556677889900) with one characteristic (0000AABCCCDD11223344556677889900) on the nrf connect application.[/quote]
&lt;p&gt;Did you register this UUID with &lt;span&gt;&lt;a title="sd_ble_uuid_vs_add" href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s132.api.v7.3.0/group___b_l_e___c_o_m_m_o_n___f_u_n_c_t_i_o_n_s.html?cp=4_7_3_1_2_0_2_2_8#ga265b4251110a15120d0aa97e5152163b"&gt;sd_ble_uuid_vs_add&lt;/a&gt;&lt;/span&gt;() on the peripheral? &lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>