<?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>Advertising custom service uuid</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26490/advertising-custom-service-uuid</link><description>Hi community, 
 I custom a service and need it be filter by mobile phone. For that I need my service uuid show up in advertisement. 
 Search some article. And find SDK example ble_app_uart could do what I want. 
 Use the example it work perfectly.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Nov 2017 06:09:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26490/advertising-custom-service-uuid" /><item><title>RE: Advertising custom service uuid</title><link>https://devzone.nordicsemi.com/thread/104238?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 06:09:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:68b67a10-dd3b-4c62-b1e7-ef04f708dd07</guid><dc:creator>JohnathanLyu</dc:creator><description>&lt;p&gt;I follow &amp;quot;/examples/ble_peripheral/ble_app_uart&amp;quot;&lt;/p&gt;
&lt;p&gt;add in advertising_init()&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ble_advdata_t          scanrsp;
...
memset(&amp;amp;scanrsp, 0, sizeof(scanrsp));
scanrsp.uuids_complete.uuid_cnt = sizeof(m_adv_uuids) / sizeof(m_adv_uuids[0]);
...
scanrsp.uuids_complete.p_uuids  = m_adv_uuids;
...
err_code = ble_advertising_init(&amp;amp;advdata, &amp;amp;scanrsp, &amp;amp;options, on_adv_evt, NULL);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Problem solved! I could do what I want advertising custom 128 uuid and let mobile can filter it.&lt;/p&gt;
&lt;p&gt;Not sure it&amp;#39;s good way but it work for me.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising custom service uuid</title><link>https://devzone.nordicsemi.com/thread/104239?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2017 03:26:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8a14fa5-e97a-4e84-947c-4cddd9619f6e</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Don&amp;#39;t use BLE_UUID_TYPE_VENDOR_BEGIN, register the UUID you need with sd_ble_uuid_vs_add() and use the return from that function as MY_UUID_TYPE&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know where the practice of trying to use that constant came from, it&amp;#39;s always been wrong.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>