<?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>How can I add a UUid?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12304/how-can-i-add-a-uuid</link><description>When we add a uuid will follow the steps below 
 err_code = sd_ble_uuid_vs_add(&amp;amp;nus_base_uuid, &amp;amp;p_nus-&amp;gt;uuid_type);

// Add the service.
err_code = sd_ble_gatts_service_add(BLE_GATTS_SRVC_TYPE_PRIMARY,
 &amp;amp;ble_uuid,
 &amp;amp;p_nus-&amp;gt;service_handle);

 return</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 11 Mar 2016 02:07:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12304/how-can-i-add-a-uuid" /><item><title>RE: How can I add a UUid?</title><link>https://devzone.nordicsemi.com/thread/46540?ContentTypeID=1</link><pubDate>Fri, 11 Mar 2016 02:07:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c74af4c-877b-4045-a2b0-7e7953378d95</guid><dc:creator>weiqifa</dc:creator><description>&lt;p&gt;Thank you ,now it is right&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I add a UUid?</title><link>https://devzone.nordicsemi.com/thread/46539?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 10:24:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eae2b617-cf84-4b19-adef-d9a887fa738c</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;Your steps seem to be correct.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Which error codes does sd_ble_gatts_service_add(..) and sd_ble_gatts_characteristic_add(..) return?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;What does &lt;code&gt;ble_uuid&lt;/code&gt; contain?&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I add a UUid?</title><link>https://devzone.nordicsemi.com/thread/46538?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 09:44:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6175665f-39c5-44d5-93b5-17331b1bf0a6</guid><dc:creator>weiqifa</dc:creator><description>&lt;p&gt;err_code = sd_ble_uuid_vs_add(&amp;amp;nus_base_uuid, &amp;amp;p_nus-&amp;gt;uuid_type);&lt;/p&gt;
&lt;p&gt;// Add the service.
err_code = sd_ble_gatts_service_add(BLE_GATTS_SRVC_TYPE_PRIMARY,
&amp;amp;ble_uuid,
&amp;amp;p_nus-&amp;gt;service_handle);&lt;/p&gt;
&lt;p&gt;return sd_ble_gatts_characteristic_add(p_nus-&amp;gt;service_handle,
&amp;amp;char_md,
&amp;amp;attr_char_value,
&amp;amp;p_nus-&amp;gt;rx_handles);&lt;/p&gt;
&lt;p&gt;When I was in this way at the same time two add without success.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How can I add a UUid?</title><link>https://devzone.nordicsemi.com/thread/46537?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2016 09:15:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18c0f272-1473-4c32-80ab-efda28cd152a</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;So what&amp;#39;s your question?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>