<?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>Non-connectable advertisement while scanning as a Central</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14195/non-connectable-advertisement-while-scanning-as-a-central</link><description>Is it possible to advertise in non-connectable mode while scanning/connecting/connected as a Central?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 29 Aug 2016 12:04:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14195/non-connectable-advertisement-while-scanning-as-a-central" /><item><title>RE: Non-connectable advertisement while scanning as a Central</title><link>https://devzone.nordicsemi.com/thread/54239?ContentTypeID=1</link><pubDate>Mon, 29 Aug 2016 12:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f01683b3-483a-43bf-943e-a943b83e7c51</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Did a quick test and saw no issues:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;advertising_init();    //from ble_app_template example
err_code = ble_advertising_start(BLE_ADV_MODE_FAST);    //from ble_app_template example
APP_ERROR_CHECK(err_code);

nrf_delay_ms(5000);

err_code = sd_ble_gap_adv_stop();
APP_ERROR_CHECK(err_code);

advertising_beacon_init();    //advertising_init() from ble_app_beacon example
err_code = sd_ble_gap_adv_start(&amp;amp;m_adv_params);
APP_ERROR_CHECK(err_code);
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;As this discussion is not related to the original question anymore I suggest that you make a new question.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Non-connectable advertisement while scanning as a Central</title><link>https://devzone.nordicsemi.com/thread/54240?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2016 13:17:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9d737c8e-1549-4527-a1eb-8b4d0d707140</guid><dc:creator>gortok</dc:creator><description>&lt;p&gt;I wasn&amp;#39;t clear. Start non connectable advertising -&amp;gt; stop -&amp;gt; start connectable advertising using ble_advertising_init/ble_advertising_start (your BLE Advertising library).  The problem appears to be in using the library after manually initializing advertising data and params outside of the library (doesn&amp;#39;t matter if the advertising is stopped in between).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Non-connectable advertisement while scanning as a Central</title><link>https://devzone.nordicsemi.com/thread/54238?ContentTypeID=1</link><pubDate>Thu, 25 Aug 2016 10:21:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:af751f29-d0fe-4057-8c01-893173999452</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;You can&amp;#39;t do connectable advertising and non-connectable advertising at the same time (using the SoftDevice). If you are going to do connectable advertising you have to stop non-connectable advertising first.&lt;/p&gt;
&lt;p&gt;Alternatively you can do non-connectable advertising in timeslot. See the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/ble_sdk_app_multi_activity.html?cp=6_0_0_4_2_2_25"&gt;multiactivity example&lt;/a&gt; in the SDK for more detail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Non-connectable advertisement while scanning as a Central</title><link>https://devzone.nordicsemi.com/thread/54237?ContentTypeID=1</link><pubDate>Wed, 24 Aug 2016 19:31:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b092d0d9-11ed-430a-8606-1e71fd22555e</guid><dc:creator>gortok</dc:creator><description>&lt;p&gt;I&amp;#39;m seeing issues when I try to use the ble_advertising module to enable &amp;quot;connectable&amp;quot; advertising after using sd_ble_gap_adv_start() to start nonconnectable advertising. Specifically, I get a hardfault when the ble_advertising_init() routine does its thing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Non-connectable advertisement while scanning as a Central</title><link>https://devzone.nordicsemi.com/thread/54235?ContentTypeID=1</link><pubDate>Tue, 16 Aug 2016 13:31:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f56ab7e-b200-420d-8827-82c2142ef5e1</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Updated ;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Non-connectable advertisement while scanning as a Central</title><link>https://devzone.nordicsemi.com/thread/54236?ContentTypeID=1</link><pubDate>Mon, 15 Aug 2016 10:58:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:96c5fb00-a6c8-4f00-934c-daaadc4662ec</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;To do non-connectable advertising you should not use the ble_advertising module. You can use &lt;code&gt;ble_advdata_set(..)&lt;/code&gt; to set the packet data and then start advertising with the SoftDevice call &lt;code&gt;sd_ble_gap_adv_start(..)&lt;/code&gt;. See the ble_app_beacon example for how to do this in more detail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Non-connectable advertisement while scanning as a Central</title><link>https://devzone.nordicsemi.com/thread/54234?ContentTypeID=1</link><pubDate>Tue, 31 May 2016 12:16:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3747dbcb-bd66-4e97-9ae9-c2bb42c366b3</guid><dc:creator>Ole Bauck</dc:creator><description>&lt;p&gt;Yes, it is possible.&lt;/p&gt;
&lt;p&gt;You can use ble_advdata_set(..) to set the packet data and then start advertising with the SoftDevice call sd_ble_gap_adv_start(..). See the ble_app_beacon example for how to do this in more detail.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>