<?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>BLE Central: Unable to discover 128 bit UUID service having two characteristics with completely different 128 bit UUID.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/79125/ble-central-unable-to-discover-128-bit-uuid-service-having-two-characteristics-with-completely-different-128-bit-uuid</link><description>Hi Nordic Team, 
 
 My dev environment is as follow: 
 nRF52832 (Central) + S132+ SES 
 
 At Peripheral side, I am using nRF connect app to advertise the service I want to discover. 
 The service I want to discover has 128 bit UUID. The two characteristics</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 03 Sep 2021 16:02:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/79125/ble-central-unable-to-discover-128-bit-uuid-service-having-two-characteristics-with-completely-different-128-bit-uuid" /><item><title>RE: BLE Central: Unable to discover 128 bit UUID service having two characteristics with completely different 128 bit UUID.</title><link>https://devzone.nordicsemi.com/thread/328018?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 16:02:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9498b274-e522-4395-9cbd-8d4366a7e39f</guid><dc:creator>Nagma</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;This segment of code belongs to central. Actually for peripheral I am using Nrf connect app to advertise.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have went through NUS central. But NUS service 128 bit uuid and its characteristics 128 bit uuid is not completely different. Even I had implemented based on NUS central example. But fortunately I was able to solve this issue. I just used bas central example (sdk 17.0) and specifically used&amp;nbsp;&lt;/p&gt;
&lt;pre class="lang:c decode:true "&gt;ble_bas_on_db_disc_evt() &lt;/pre&gt;
&lt;p&gt;portion of code and changed things according to what I needed and it worked.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The only thing that was important was while registering through sd_ble_uuid_vs_add() use 128 bit uuid of both service and characteristics but while registering for discovery only 16 bit uuid for both service and characteristics.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for your reply!&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Central: Unable to discover 128 bit UUID service having two characteristics with completely different 128 bit UUID.</title><link>https://devzone.nordicsemi.com/thread/328011?ContentTypeID=1</link><pubDate>Fri, 03 Sep 2021 15:18:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d809ee7-f5df-4e45-82b4-26cfed6e3a7b</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. &lt;/p&gt;
&lt;p&gt;Is the code you are sharing used in you peripheral device or in your central device? Your custom service and characteristics should be first added on your peripheral device in order for your central to be able to discover them. You can follow this 3-part tutorial in order to add your custom service to your peripheral device:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-advertising-a-beginners-tutorial"&gt;Bluetooth low energy advertising, a beginner&amp;#39;s tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial"&gt;Bluetooth low energy services, a beginner&amp;#39;s tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-characteristics-a-beginners-tutorial"&gt;Bluetooth low energy characteristics, a beginner&amp;#39;s tutorial&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For implementing the central device to scan and discover your custom service and characteristic you can take a look at how the NUS central example is implemented, and how a scan filter is set to connect to the custom Nordic UART service. See also the &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial"&gt;Bluetooth low energy central tutorial&lt;/a&gt; for guidance.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Marjeris&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>