<?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>Checking my understanding of 128-bit UUIDs.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/32122/checking-my-understanding-of-128-bit-uuids</link><description>When registering a base UUID with the SoftDevice via &amp;quot;sd_ble_uuid_vs_add&amp;quot;, a uint8_t is returned which (per the ble_app_pwr_profiling example) is intended to be the &amp;quot;type&amp;quot; field in a &amp;quot;ble_uuid_t&amp;quot; variable. The SDK documentation indicates (S132 SoftDevice</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Mar 2018 15:13:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/32122/checking-my-understanding-of-128-bit-uuids" /><item><title>RE: Checking my understanding of 128-bit UUIDs.</title><link>https://devzone.nordicsemi.com/thread/125037?ContentTypeID=1</link><pubDate>Mon, 19 Mar 2018 15:13:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b67cb21f-c1c0-4d28-bd72-f9882c476c88</guid><dc:creator>Joakim Jakobsen</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;From what I can see the statements in your post is correct.&lt;/p&gt;
&lt;p&gt;&amp;quot;In reality, ALL the base UUIDs are 128-bits, and once installed, ALL the relevant API calls deal with 16-bit UUIDs that &lt;br /&gt;replace bytes 12 and 13 in the base UUID. Is that right?&amp;quot;&lt;br /&gt;Yes, that is correct. The 16-bit Bluetooth SIG UUID&amp;#39;s&amp;#39; uses a Base UUID provided by BT SIG. And that is, as you suggested in your question, already added in the softdevice.&lt;/p&gt;
&lt;p&gt;&amp;quot;Therefore, once the service is initialized and the characteristics added, there is no need to keep track of &lt;br /&gt;the index in the ble_uuid_t variable returned from &amp;quot;sd_ble_uuid_vs_add&amp;quot;. Is that right?&amp;quot;&lt;br /&gt;That is correct. You need to declare which type you are adding to the service/characteristic, but after the services/characteristics is added, you no longer need to keep track of the variable. &lt;/p&gt;
&lt;p&gt;Let me know if you have any more questions. &lt;br /&gt;Cheers, &lt;br /&gt;Joakim.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>