<?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 to achieve advertising without ScanResponse</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11027/how-to-achieve-advertising-without-scanresponse</link><description>Hi, 
 I set advertising data as follows: 
 err_code = ble_advdata_set(&amp;amp;advdata, NULL);
 
 But I can&amp;#39;t achieve advertising without ScanResponse，could you give me some suggestions. 
 BR</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 25 Dec 2015 00:07:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11027/how-to-achieve-advertising-without-scanresponse" /><item><title>RE: How to achieve advertising without ScanResponse</title><link>https://devzone.nordicsemi.com/thread/41234?ContentTypeID=1</link><pubDate>Fri, 25 Dec 2015 00:07:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36991489-ccc7-49a7-b6d8-7425a6bcc42f</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;What do you mean you &amp;#39;can&amp;#39;t achieve advertising without a scan response&amp;#39;? You want a scan response, you don&amp;#39;t want one? You don&amp;#39;t want the central to send you a scan request at all and it is even though you don&amp;#39;t have any data to send it? What are you asking here?&lt;/p&gt;
&lt;p&gt;Most advertising modes you&amp;#39;d commonly use allow, or even require, the central to send a scan request even if that returns an empty response, is that what you&amp;#39;re trying to stop?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to achieve advertising without ScanResponse</title><link>https://devzone.nordicsemi.com/thread/41235?ContentTypeID=1</link><pubDate>Thu, 24 Dec 2015 13:57:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8597636a-5348-469d-918c-2cbffa3e5efd</guid><dc:creator>Michael Dietz</dc:creator><description>&lt;p&gt;Look at this if you haven&amp;#39;t: &lt;a href="https://devzone.nordicsemi.com/tutorials/5/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;A scan response will be useful if you have more than 31 bytes of data to send. What error code is ble_advdata_set(...) returning? I beleive if it returns 0x0C then that means you are passing too much data to it in advdata. otherwise you might have a different problem. try shortening the device name for a quick check. and not sending too many uuids.&lt;/p&gt;
&lt;p&gt;including more of your code in advertising_init() will be helpful for answers. also note that services_init() should be called before advertising_init() in your main.c if you are using a custom (or vendor specific) service&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>