<?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>When I use additional VS UUID, should I...</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19280/when-i-use-additional-vs-uuid-should-i</link><description>When I use additional VS UUID, should I use sd_ble_uuid_vs_add(), se_ble_gatts_service_add() in order?
example,
sd_ble_uuid_vs_add(); &amp;lt;- VS1 UUID 
 se_ble_gatts_service_add(); &amp;lt;- Service1 related to VS1 
 se_ble_gatts_service_add(); &amp;lt;- Service2 related</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Jan 2017 09:53:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19280/when-i-use-additional-vs-uuid-should-i" /><item><title>RE: When I use additional VS UUID, should I...</title><link>https://devzone.nordicsemi.com/thread/74726?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 09:53:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90f69bca-3384-4232-802b-cbcafff814c6</guid><dc:creator>JoonDong</dc:creator><description>&lt;p&gt;Oh... you are very kindly.. I didn&amp;#39;t think about creating ble_uuid_2 variable..&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When I use additional VS UUID, should I...</title><link>https://devzone.nordicsemi.com/thread/74727?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 09:03:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a199052-07f3-448a-9348-5304a3eddda0</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I just tested here, and what you want to do works fine.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When I use additional VS UUID, should I...</title><link>https://devzone.nordicsemi.com/thread/74728?ContentTypeID=1</link><pubDate>Mon, 30 Jan 2017 04:45:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39df8bd5-550d-4df9-9cb5-29bb8a5f8d82</guid><dc:creator>JoonDong</dc:creator><description>&lt;p&gt;But does sd_ble_uuid_vs_add() function ouput uuid type of p_vs_uuid in p_uuid_type parameter?
And p_uuid_type is one of three: BLE_UUID_TYPE_UNKNOWN, BLE_UUID_TYPE_BEL, BLE_UUID_TYPE_VENDOR_BEGIN.
Then when adding service, it input the p_uuid_type in sd_ble_gatts_service_add()&amp;#39;s paramter in uart example.
But if I add VS UUID twice and then add service, I think softdevice add service in latest added VS UUID, doesn&amp;#39;t it?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: When I use additional VS UUID, should I...</title><link>https://devzone.nordicsemi.com/thread/74725?ContentTypeID=1</link><pubDate>Fri, 27 Jan 2017 15:26:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f0d47d58-935f-4415-8903-ce46fb14649d</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Yes, you can add the UUIDs first and then add the services.&lt;/p&gt;
&lt;p&gt;The output parameter of &lt;code&gt;sd_ble_uuid_vs_add()&lt;/code&gt;, p_uuid_type, is the reference to the added UUID. For how to refer to an added UUID when adding a service to it, see the example ble_app_uart --&amp;gt; function ble_nus_init().&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 30.01.2017:&lt;/strong&gt; It is no problem to first add two UUIDs and then add the first UUID to a service:
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/uuid_5F00_vs_5F00_add.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>