<?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>Fast advertising and slow advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12165/fast-advertising-and-slow-advertising</link><description>Hi
Im developing a filter - repeater signal on S130, and I want to advertise with a peridod of 20 ms for 10 seconds timeout.
I&amp;#39;m confused with FAST ADVERTISING AND SLOW ADVERTISING, I don&amp;#39;t know what to use and why.
What is the recommended option for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 01 Mar 2016 06:58:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12165/fast-advertising-and-slow-advertising" /><item><title>RE: Fast advertising and slow advertising</title><link>https://devzone.nordicsemi.com/thread/46042?ContentTypeID=1</link><pubDate>Tue, 01 Mar 2016 06:58:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fcd9ebc7-dd27-44a0-9728-1dc676c725b5</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;If you want your device to have a shorter advertising interval than 100 ms, it can advertise as a connectable device and set it up to disconnect immediately upon a potential connection.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fast advertising and slow advertising</title><link>https://devzone.nordicsemi.com/thread/46041?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 13:35:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a72b10bc-1b2e-41ed-83bd-42a6101bdfbb</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;I have updated my answer to answer your questions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fast advertising and slow advertising</title><link>https://devzone.nordicsemi.com/thread/46040?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 11:24:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18689feb-dd68-4481-b3a1-68721204fac3</guid><dc:creator>Shorosky</dc:creator><description>&lt;p&gt;Thanks for answering. I have readed the question, and documentation.
I have a question of using advertising_init function, and it is that I don&amp;#39;t know how to configure a no connectable device.
If I configure a no_connectable_device using sd_ble_gap_adv_start manually, I can&amp;#39;t advertise faster than a 100ms period.
Is it possible to configure a no_connectable_device with advertising_init(...), or will I need to configure it manually?
Can I reduce the advertising period, if I configure this kind of advertising?&lt;/p&gt;
&lt;p&gt;Thank you.&lt;/p&gt;
&lt;p&gt;Update 29.02.16: So I can&amp;#39;t advertise faster than 100ms on non_connectable_mode. I was confused about it.
My application is based on ble_app_hrs_c example and ble_app_beacon example. I guess that I have to configure Advertising type manually (calling to sd_ble_gap_adv_start(...)), like on ble_app_beacon.
The code that I have written at first works fine, but I wanted to configure it by the best way.&lt;/p&gt;
&lt;p&gt;Thank you very much!
Regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Fast advertising and slow advertising</title><link>https://devzone.nordicsemi.com/thread/46039?ContentTypeID=1</link><pubDate>Mon, 29 Feb 2016 09:13:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:743aeb2f-0d9b-460a-9c35-a7e80a7ad93b</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;&lt;code&gt;ble_adv_modes_config&lt;/code&gt; is the type that you use to set the advertising interval and timeout for a given advertising mode. In the example from advertising_init(..) below, fast advertising is enabled with a given advertising interval and timeout:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;    ble_adv_modes_config_t options = {0};
    options.ble_adv_fast_enabled  = BLE_ADV_FAST_ENABLED;
    options.ble_adv_fast_interval = APP_ADV_INTERVAL;
    options.ble_adv_fast_timeout  = APP_ADV_TIMEOUT_IN_SECONDS;
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;&lt;code&gt;ble_gap_adv_params_t&lt;/code&gt; is only used internally in advertising.c. It is used to apply the the advertising settings set in advertising_inti(..) for the various advertising  cases in advertising_start(..).&lt;/p&gt;
&lt;p&gt;I would also recommend you to take a look at &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk51.v10.0.0%2Flib_ble_advertising.html&amp;amp;cp=4_0_1_3_1_1"&gt;the documentation for the advertising module&lt;/a&gt; and the  answer to &lt;a href="https://devzone.nordicsemi.com/question/47022/fast-vs-slow-advertising-where-is-the-border-between/?answer=47036#post-id-47036"&gt;this&lt;/a&gt; question, it explains the flow of the advertising module.&lt;/p&gt;
&lt;p&gt;The advertising interval should be within the range 20 ms to 10.24 s.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Update 29.02.16:&lt;/strong&gt; When advertising in a non-connectable mode, ADV_SCAN_IND or ADV_NONCONN_IND, the minimum advertising interval is 100 ms. The Bluetooth Core Specification v4.2 says the following in Vol 2, Part E, chapter 7.8.5:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;The Advertising_Interval_Min and Advertising_Interval_Max shall not be set to
less than 0x00A0 (100 ms) if the Advertising_Type is set to 0x02
(ADV_SCAN_IND) or 0x03 (ADV_NONCONN_IND).&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;ADV_SCAN_IND: Scannable undirected advertising&lt;/p&gt;
&lt;p&gt;ADV_NONCONN_IND: Non connectable undirected advertising&lt;/p&gt;
&lt;p&gt;For how to configure a non-connectable device, you can take a look at the ble_app_beacon example in the SDK.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>