<?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>start and stop advertising packet of every 5 min?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/25651/start-and-stop-advertising-packet-of-every-5-min</link><description>hi,
i want to advertise packet every interval of 5min.
how can i start and stop advertise packet.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 04 Oct 2017 11:17:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/25651/start-and-stop-advertising-packet-of-every-5-min" /><item><title>RE: start and stop advertising packet of every 5 min?</title><link>https://devzone.nordicsemi.com/thread/101067?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 11:17:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8cecca87-5fb9-4137-afd1-4cc44245a24f</guid><dc:creator>KETAN_PATEL</dc:creator><description>&lt;p&gt;thank you @Sigurd.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start and stop advertising packet of every 5 min?</title><link>https://devzone.nordicsemi.com/thread/101064?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 11:01:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09b3517d-18ef-496c-b0ba-5542c6ae1ec4</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;The longer advertising interval you have, the longer time it will be for the central to find the peripheral.  The max time have therefore been set to 10.24 sec(0x4000).&lt;/p&gt;
&lt;p&gt;Here is a picture from the BLE spec core 4.2 page 1278:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/adv_5F00_max.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start and stop advertising packet of every 5 min?</title><link>https://devzone.nordicsemi.com/thread/101066?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 10:07:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d5ec325-6e4a-4eb0-a80b-e37901553ba3</guid><dc:creator>KETAN_PATEL</dc:creator><description>&lt;p&gt;i got it why it&amp;#39;s maximum advertising interval is 10.24 sec.
in BLE stack  advertising interval is 2 octets means 16 bit and unit is 0.625msec. so we can set maximum 10.24 sec.
this is right??&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start and stop advertising packet of every 5 min?</title><link>https://devzone.nordicsemi.com/thread/101065?ContentTypeID=1</link><pubDate>Wed, 04 Oct 2017 09:27:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4847a390-9f6e-4b62-8500-8dbd2146e6ef</guid><dc:creator>KETAN_PATEL</dc:creator><description>&lt;p&gt;why it&amp;#39;s maximum advertising interval is 10.24sec?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start and stop advertising packet of every 5 min?</title><link>https://devzone.nordicsemi.com/thread/101063?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2017 11:52:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e0403d0e-c9dc-4581-81fe-b775a3af841a</guid><dc:creator>KETAN_PATEL</dc:creator><description>&lt;p&gt;thanks sigurd&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: start and stop advertising packet of every 5 min?</title><link>https://devzone.nordicsemi.com/thread/101062?ContentTypeID=1</link><pubDate>Tue, 03 Oct 2017 11:20:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dfa38d0a-94bf-4aa3-b49a-9eef3d6c14c0</guid><dc:creator>Sigurd</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The Bluetooth Specification specifies that the advertising interval should be between 20 ms to 10.24 sec. If you want to be compliant with the BLE Specification, I recommend that you don&amp;#39;t try to exceed these limits.&lt;/p&gt;
&lt;p&gt;That said, you can stop the advertising with the function &lt;code&gt;sd_ble_gap_adv_stop()&lt;/code&gt;, and using the advertising module you can start with the function &lt;code&gt;ble_advertising_start()&lt;/code&gt;, or directly with &lt;code&gt;sd_ble_gap_adv_start()&lt;/code&gt;. You can then set-up a &lt;a href="https://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.3.0/lib_timer.html?cp=4_0_3_3_33"&gt;app_timer&lt;/a&gt; to control when you want to advertise.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>