<?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 set the duration of advertisement with whitelisting?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/58494/how-to-set-the-duration-of-advertisement-with-whitelisting</link><description>Hi, 
 I have an application where an nRF52840 DK(1.1.0) is configured to work as both central and peripheral. I want to set a lesser duration for advertising with whitelisting than without whitelisting as a new device is taking a few seconds to discover</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 16 Mar 2020 11:00:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/58494/how-to-set-the-duration-of-advertisement-with-whitelisting" /><item><title>RE: How to set the duration of advertisement with whitelisting?</title><link>https://devzone.nordicsemi.com/thread/239959?ContentTypeID=1</link><pubDate>Mon, 16 Mar 2020 11:00:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:caf0b62f-a770-40a7-b04c-08b5f4a484e9</guid><dc:creator>devids123</dc:creator><description>&lt;p&gt;HI,&lt;/p&gt;
&lt;p&gt;Ok, then I should set it as we discussed. Thanks for all the support.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jibin Raj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set the duration of advertisement with whitelisting?</title><link>https://devzone.nordicsemi.com/thread/239676?ContentTypeID=1</link><pubDate>Fri, 13 Mar 2020 10:08:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44a11a73-fc8e-4976-9bd7-57d8a7ec7171</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Not possible that I am aware of no.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set the duration of advertisement with whitelisting?</title><link>https://devzone.nordicsemi.com/thread/239597?ContentTypeID=1</link><pubDate>Thu, 12 Mar 2020 16:45:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9fa1ceaa-c596-47a7-92b6-8087ec12a501</guid><dc:creator>devids123</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;That should work for me but could please provide a confirmation on this:-&lt;/p&gt;
[quote userid="71062" url="~/f/nordic-q-a/58494/how-to-set-the-duration-of-advertisement-with-whitelisting/238107"]Ideally, if it is possible to set a different duration for the slow/fast whitelist advertising and normal slow/fast advertising that would be better(is it possible?).[/quote]
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jibin Raj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set the duration of advertisement with whitelisting?</title><link>https://devzone.nordicsemi.com/thread/238174?ContentTypeID=1</link><pubDate>Thu, 05 Mar 2020 07:47:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d775a14a-360e-48c5-8bbf-301f6a05aa14</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;You can stop and start advertisement as you best see fit at any time. So that should not be any problem no.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set the duration of advertisement with whitelisting?</title><link>https://devzone.nordicsemi.com/thread/238107?ContentTypeID=1</link><pubDate>Wed, 04 Mar 2020 16:21:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4fd9f07a-a845-4bc0-9684-d633d6b1cf2a</guid><dc:creator>devids123</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;Thanks for the reply. I need the advertising with the whitelist option so I can&amp;#39;t disable it. Even if the APP_ADV_FAST_DURATION is reduced there is a slow advertising with whitelist mode(BLE_ADV_EVT_SLOW-WHITELIST) which can&amp;#39;t be disabled separately. Ideally, if it is possible to set a different duration for the slow/fast whitelist advertising and normal slow/fast advertising that would be better(is it possible?).&lt;/p&gt;
&lt;p&gt;If it is not possible, will there be any problem if I call ble_advertising_restart_without_whitelist() in the BLE_ADV_EVT_FAST_WHITELIST event callback(by keeping the fast advertising interval low and a high slow advertising duration).&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Jibin Raj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to set the duration of advertisement with whitelisting?</title><link>https://devzone.nordicsemi.com/thread/237430?ContentTypeID=1</link><pubDate>Mon, 02 Mar 2020 12:28:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aae96a23-c01d-4270-8bfd-220b6600b723</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you want to advertise without white list you can simply call&amp;nbsp;ble_advertising_restart_without_whitelist(), or when you start advertisement you simply set:&lt;/p&gt;
&lt;p&gt;init.config.ble_adv_whitelist_enabled&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; = false;&lt;/p&gt;
&lt;p&gt;Also make sure to set:&lt;/p&gt;
&lt;p&gt;init.config.ble_adv_directed_enabled&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;= false;&lt;/p&gt;
&lt;p&gt;If you don&amp;#39;t want to use any of the above, then the last option likely is to reduce&amp;nbsp;APP_ADV_FAST_DURATION and increase&amp;nbsp;APP_ADV_SLOW_DURATION.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>