<?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>Long 16 bytes characteristic UUID different from the srevice UUID</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5006/long-16-bytes-characteristic-uuid-different-from-the-srevice-uuid</link><description>I want to use to set the UUID in my Nordic device as following: 
 Base UUID: 
{0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x01} 
 -- Characteristic #1 UUID: {0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 15 Jan 2015 20:03:47 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5006/long-16-bytes-characteristic-uuid-different-from-the-srevice-uuid" /><item><title>RE: Long 16 bytes characteristic UUID different from the srevice UUID</title><link>https://devzone.nordicsemi.com/thread/17656?ContentTypeID=1</link><pubDate>Thu, 15 Jan 2015 20:03:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd73afbd-6c32-40ee-b60c-8a6e9090f416</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Great. Could you add the &amp;quot;Master&amp;quot; problem as a separate question and link to this one? Please explain a bit more about what kind of master it is and so on. Thanks. Also, if you find my answer sufficient, please accept it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long 16 bytes characteristic UUID different from the srevice UUID</title><link>https://devzone.nordicsemi.com/thread/17655?ContentTypeID=1</link><pubDate>Thu, 15 Jan 2015 19:49:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:97ef83ef-ec63-4b9a-9e3e-ea6aeb28412c</guid><dc:creator>eli</dc:creator><description>&lt;p&gt;Thanks Petter,
I do it because I need backward comparability to my order version devices and applications.
In the Slave I can create the topology. I did it the same way you said. But, I can&amp;#39;t see those long UUIDs in the Master when I am doing the discovery.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Long 16 bytes characteristic UUID different from the srevice UUID</title><link>https://devzone.nordicsemi.com/thread/17654?ContentTypeID=1</link><pubDate>Thu, 15 Jan 2015 14:35:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7bdb8af4-8d24-4e52-a255-9fd11658cf19</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I don&amp;#39;t know why you can&amp;#39;t use the 2 bytes at indices 12 and 13, but what you want to do should be possible. You just need to add the different base UUIDs, and then use these when you add the charactertistics.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t        err_code;

ble_uuid128_t   base_uuid2 = {{0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02}};

ble_uuid_t      ble_uuid2;

err_code = sd_ble_uuid_vs_add(&amp;amp;base_uuid2, &amp;amp;ble_uuid2.type);
APP_ERROR_CHECK(err_code);    

ble_uuid2.uuid           = 0x0000;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;and&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;uint32_t        err_code;

ble_uuid128_t   base_uuid3 = {{0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
                                   0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x03}};

ble_uuid_t      ble_uuid3;

err_code = sd_ble_uuid_vs_add(&amp;amp;base_uuid3, &amp;amp;ble_uuid3.type);
APP_ERROR_CHECK(err_code);    

ble_uuid3.uuid           = 0x0000;
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>