<?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>VS UUIDs with S130 1.0.0-3.alpha</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6779/vs-uuids-with-s130-1-0-0-3-alpha</link><description>Hi all 
 I tried to add a vendor specific 128bit UUID with the function sd_ble_uuid_vs_add. It worked and I received the custom UUID type (0x02). Afterwards I tried to add the same UUID again and I expected to receive the status NRF_ERROR_FORBIDDEN,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 29 Apr 2015 08:51:38 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6779/vs-uuids-with-s130-1-0-0-3-alpha" /><item><title>RE: VS UUIDs with S130 1.0.0-3.alpha</title><link>https://devzone.nordicsemi.com/thread/23813?ContentTypeID=1</link><pubDate>Wed, 29 Apr 2015 08:51:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:198811b0-1cc0-47f6-83c9-b24ff1fbddd2</guid><dc:creator>Carles</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;First of all, thanks for reporting this.&lt;/p&gt;
&lt;p&gt;I see there is a mistake in the documentation of this function.
In reality when you add an UUID that you have already added, you will get NRF_SUCCESS &lt;strong&gt;and&lt;/strong&gt; you will get its type in p_uuid_type. That allows you to add it multiple times (perhaps from multiple modules) and still each module getting the exact same type.&lt;/p&gt;
&lt;p&gt;Apologies for the mistake in the documentation, we will fix this internally ASAP.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Edit&lt;/strong&gt;: Replying to your additional questions: No, you cannot clear (or remove UUIDs from) the list at all. The only way to clear it is to disable and then re-enable the SD via sd_softdevice_disable() and then sd_softdevice_enable() and sd_ble_enable(). You can however add UUIDs at &lt;strong&gt;any time&lt;/strong&gt; during SD execution.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Carles&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>