<?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>128 bit UUID&amp;#39;s</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/206/128-bit-uuid-s</link><description>Hi, 
 Function call to &amp;gt; err_code = ble_advdata_set(&amp;amp;advdata, NULL); 
 returns always err_code = 7 (NRF_ERROR_INVALID_PARAMETER) for a 128 bit UUID type (BLE_UUID_TYPE_VENDOR_BEGIN). 
 For 16 bit UUID types it works fine. Here is the code: 
 

#define</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 28 May 2015 15:04:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/206/128-bit-uuid-s" /><item><title>RE: 128 bit UUID's</title><link>https://devzone.nordicsemi.com/thread/1152?ContentTypeID=1</link><pubDate>Thu, 28 May 2015 15:04:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6092fb8-28ce-424f-9491-f63956b16c42</guid><dc:creator>Jim Credland</dc:creator><description>&lt;p&gt;This is really badly documented.    You could usefully move this post to the bit that says &amp;#39;Detailed Description&amp;#39; here: &lt;a href="https://devzone.nordicsemi.com/documentation/nrf51/4.3.0/html/group___b_l_e___u_u_i_d___t_y_p_e_s.html"&gt;devzone.nordicsemi.com/.../group___b_l_e___u_u_i_d___t_y_p_e_s.html&lt;/a&gt; (and in similar locations for other SDK versions!)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: 128 bit UUID's</title><link>https://devzone.nordicsemi.com/thread/1151?ContentTypeID=1</link><pubDate>Thu, 01 Aug 2013 09:01:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:95355b75-3373-49ec-88f1-b22009f4ea57</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;It seems you haven&amp;#39;t added your custom base correctly. I just posted &lt;a href="https://devzone.nordicsemi.com/index.php/how-can-i-use-a-vendor-specific-uuid"&gt;this question and answer&lt;/a&gt; to properly explain how to add a base. If you follow this scheme, you must pass the type sd_ble_uuid_vs_add() retured instead of BLE_UUID_TYPE_VENDOR_BEGIN. If not, the softdevice will not be able to find out which base UUID should be used, and hence return an error.&lt;/p&gt;
&lt;p&gt;Note that you must also make sure that sd_ble_uuid_vs_add() is called before you set up the advertisement package. This most likely means that you should have your services_init() before your advertising_init() in main().&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>