<?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>nRF52DK does not advertise when NUS is combined with custom service.</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/19841/nrf52dk-does-not-advertise-when-nus-is-combined-with-custom-service</link><description>Hello,
I am trying to implement my custom service with NUS. I have gone through almost all the solutions presented on this forum. 
 Observations: 
 
 
 The board does not advertise. 
 
 
 On debugging, the board keeps resetting. 
 
 
 ble_advertising_init</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 21 Feb 2017 03:56:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/19841/nrf52dk-does-not-advertise-when-nus-is-combined-with-custom-service" /><item><title>RE: nRF52DK does not advertise when NUS is combined with custom service.</title><link>https://devzone.nordicsemi.com/thread/77151?ContentTypeID=1</link><pubDate>Tue, 21 Feb 2017 03:56:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1f0ca14c-58d1-463f-8a04-7f9577be7e09</guid><dc:creator>Rishi</dc:creator><description>&lt;p&gt;Hey Jorgen,
Your suggestion worked out perfectly.&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF52DK does not advertise when NUS is combined with custom service.</title><link>https://devzone.nordicsemi.com/thread/77150?ContentTypeID=1</link><pubDate>Mon, 20 Feb 2017 15:08:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8867a1d3-6737-4f4d-9387-0588ac24c848</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;It looks like you are putting both UUIDs in the scan response package. This will make the scan reponse package 32 byte, which is more than the allowed 31 bytes. You will have to put one UUID in the advertising data and one UUID in the scan response data.&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;advdata.uuids_more_available.uuid_cnt = 1;
advdata.uuids_more_available.p_uuids = &amp;amp;m_adv_uuids[0];

srdata.uuids_more_available.uuid_cnt = 1;
srdata.uuids_more_available.p_uuids = &amp;amp;m_adv_uuids[1];
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>