<?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 - The Service and Characteristics have different base UUID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/53505/ble-central---the-service-and-characteristics-have-different-base-uuid</link><description>I have trouble when discover the BLE Peripheral that have the base UUID of characteristics and service are different. Then I followed several instructions in some cases, but it did not work. 
 Before I use sd_ble_uuid_vs_add() to add some base UUID of</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 28 Oct 2019 14:22:42 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/53505/ble-central---the-service-and-characteristics-have-different-base-uuid" /><item><title>RE: BLE Central - The Service and Characteristics have different base UUID</title><link>https://devzone.nordicsemi.com/thread/217137?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2019 14:22:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e159d29b-51ab-4482-805c-e4cd832b47ac</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am so sorry but can you please explain a bit better what are you trying to do and what the problem is? I don&amp;#39;t quite understand what you want to achieve right now.&lt;/p&gt;
&lt;p&gt;We have a &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-central-tutorial"&gt;tutorial about Bluetooth central devices&lt;/a&gt;, which is unfortunately a little updated but may still be helpful for you, I recommend you take a look at it.&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><item><title>RE: BLE Central - The Service and Characteristics have different base UUID</title><link>https://devzone.nordicsemi.com/thread/216844?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 12:45:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:37c19510-5ff0-4226-a21b-999204827714</guid><dc:creator>Gaht</dc:creator><description>&lt;p&gt;I found the solution. In main.c, I changed the type&amp;nbsp;&lt;br /&gt;NUS_SERVICE_UUID_TYPE =&amp;nbsp;BLE_UUID_TYPE_VENDOR_BEGIN + the number of base UUID that I wanna add)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;And I can scan my BLE Peripheral.&lt;/p&gt;
&lt;p&gt;For instance, I wanna add 3 UUID more. So I modified the the&amp;nbsp;&lt;span&gt;NUS_SERVICE_UUID_TYPE&amp;nbsp;=&amp;nbsp;BLE_UUID_TYPE_VENDOR_BEGIN&amp;nbsp;+3;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;But I am curious and have a question: Does the final base UUID that I add must belong&amp;nbsp;to Service?&lt;br /&gt;because when I add it first, It can not discover my characteristics. Is it relate to&amp;nbsp;ble_db_discovery_evt_register() function?&lt;/p&gt;
&lt;p&gt;Sorry for my English, it may be not clear :(&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Central - The Service and Characteristics have different base UUID</title><link>https://devzone.nordicsemi.com/thread/216715?ContentTypeID=1</link><pubDate>Fri, 25 Oct 2019 01:30:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0ef1dcb2-77ee-4407-a397-a4bea3938aaf</guid><dc:creator>Gaht</dc:creator><description>&lt;p&gt;Hi Msromero,&lt;br /&gt;Thanks for your comment and sorry for my&amp;nbsp;question lack information and that causes you misunderstood my question.&lt;/p&gt;
&lt;p&gt;Instead of coding the BLE Peripheral, I must code the BLE Central to take data from it.&lt;br /&gt;You can see the picture I post above&amp;nbsp;that its&amp;nbsp;Service has differents base UUID from Characteristics ( I use nRF Connect app in my Smartphone connect to the BLE Peripheral).&lt;/p&gt;
&lt;p&gt;My question is why I can not scan the BLE Peripheral when I add some base UUIDs in the BLE Central? ( I use NRF52832 board,&amp;nbsp;SDK15.2, s132, and the ble_app_uart_c example).&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE Central - The Service and Characteristics have different base UUID</title><link>https://devzone.nordicsemi.com/thread/216573?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 10:59:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7768a845-5b7b-4592-94c6-cc1a5043a36d</guid><dc:creator>Marjeris Romero</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Do you have a requirement for different base UUIDs in your project? What is usually recommended is to use a 128-bit vendor specific UUID which will look something like this &amp;quot;4A98xxxx-1CC4-E7C1-C757-F1267DD021E8&amp;quot; as a “base UUID”. The four x’s represent a field where you will insert your own 16-bit IDs for your custom services and characteristics and use them just like a predefined UUID. You will have different customs UUID for each service and characteristic but only one &amp;quot;base UUID&amp;quot;.&lt;/p&gt;
&lt;p&gt;Take a look at our &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy/posts/ble-services-a-beginners-tutorial"&gt;Service tutorial&lt;/a&gt; and also this &lt;a href="https://github.com/NordicPlayground/nRF52-Bluetooth-Course"&gt;Custom BLE service example&lt;/a&gt; if you want a step by step guide of how to make your own custom service including vendor specific UUIDs.&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>