<?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 init</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/10255/advertising-init</link><description>Hi everyone.
I am making an application which combines two services (ANCS and Nordic UART). I compare the advertising_init() function from the two provided examples (ble_app_ancs_c and ble_app_uart) and see the difference inside advertising_init function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Nov 2015 06:48:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/10255/advertising-init" /><item><title>RE: Advertising init</title><link>https://devzone.nordicsemi.com/thread/38065?ContentTypeID=1</link><pubDate>Mon, 16 Nov 2015 06:48:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:704d906b-10e8-48a3-8407-e22f97c72b08</guid><dc:creator>shibshab</dc:creator><description>&lt;p&gt;In some cases, other devices will require more information about a device than whats contained within the advertisement packet. This is done by sending a &amp;quot;SCAN_REQ&amp;quot; packet to a device which is advertising (note that this only applies for the advertising types ADV_IND and ADV_SCAN_IND/ADV_DISCOVER_IND.&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t care about providing more information in the &amp;quot;SCAN_RSP&amp;quot; packet, or your advertisement is of a non-scannable type, you do not have to provide scan response data to the advertising initialization.&lt;/p&gt;
&lt;p&gt;This is valid for scannable advertisement types as well, and will result in a &amp;quot;SCAN_RSP&amp;quot; with no data being sent.&lt;/p&gt;
&lt;p&gt;(1) does not provide scan response data, whilst (2) does. If you want to provide some extra information from your advertiser without connecting, you should use (2) and place the extra data in the scan response. Otherwise you should/could use (1).&lt;/p&gt;
&lt;p&gt;Note that there might be some convention/desired way of doing this that I&amp;#39;m not aware of.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>