<?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 do I add a 128-bit UUID to my advertising packet</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/37214/how-do-i-add-a-128-bit-uuid-to-my-advertising-packet</link><description>How do I add a 128-bit UUID? 
 I am using SDK 14 and see hardly any examples of how to put a 128-bit UUID in my advertisements. 
 The only relevant example I found is under /nRF5_SDK_14.2.0_17b948a/examples/ ble_peripheral/ble_app_pwr_profiling/main.c</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 09 Aug 2018 23:26:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/37214/how-do-i-add-a-128-bit-uuid-to-my-advertising-packet" /><item><title>RE: How do I add a 128-bit UUID to my advertising packet</title><link>https://devzone.nordicsemi.com/thread/143637?ContentTypeID=1</link><pubDate>Thu, 09 Aug 2018 23:26:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5cc77151-2e30-4731-b53d-721bb3bdf5f0</guid><dc:creator>Andrew Ong</dc:creator><description>&lt;p&gt;Following this tutorial worked for me. I have to note that after&amp;nbsp;I removed all the fatal errors,&amp;nbsp;my device just plain &lt;strong&gt;&lt;em&gt;did not advertise&lt;/em&gt;&lt;/strong&gt; until I realized that my advertising payload was too long (32 bytes) and shortened it to 28 bytes.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I add a 128-bit UUID to my advertising packet</title><link>https://devzone.nordicsemi.com/thread/143226?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 12:56:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0d0aa7f-821d-4bfc-87a7-566aa81c899c</guid><dc:creator>Bj&amp;#248;rn Kvaale</dc:creator><description>&lt;p&gt;I would also take a look at &lt;a href="https://github.com/bjornspockeli/custom_ble_service_example"&gt;this custom ble service tutorial&lt;/a&gt;. It explains things in a simple manner step by step. &lt;a href="https://github.com/bjornspockeli/custom_ble_service_example/releases"&gt;The source code&lt;/a&gt; is also available in sdk 14.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How do I add a 128-bit UUID to my advertising packet</title><link>https://devzone.nordicsemi.com/thread/143116?ContentTypeID=1</link><pubDate>Tue, 07 Aug 2018 04:28:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4c177f5e-aac0-43c7-a394-e8542c7c8872</guid><dc:creator>Mahesh Venkitachalam</dc:creator><description>&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;strong&gt;sd_ble_uuid_vs_add&lt;/strong&gt; adds your custom characteristic -&amp;nbsp; it doesn&amp;#39;t make it show up on your advertisement packets. You have to put that in yourself - maybe in the scan response. See for instance the ble_app_uart example in&amp;nbsp;&lt;/span&gt;SDK 15.0.0.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;The NUS UUID is defined in:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="c_cpp"&gt;static ble_uuid_t m_adv_uuids[] = /**&amp;lt; Universally unique service identifier. */
{
{BLE_UUID_NUS_SERVICE, NUS_SERVICE_UUID_TYPE}
};&lt;/pre&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;&lt;span&gt;It&amp;#39;s used here, in advertising_init:&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre class="ui-code" data-mode="text"&gt;init.srdata.uuids_complete.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);
init.srdata.uuids_complete.p_uuids = m_adv_uuids;&lt;/pre&gt;&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>