<?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 Interval configuration</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/6998/advertising-interval-configuration</link><description>Hi, 
 I would like to know can i configure advertising interval for more than 10.24 seconds.
Which are the functions i can use for configuring advertising interval. 
 Also is there a function to stop advertising data. 
 Basically, i am developing</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 01 Jun 2015 12:40:14 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/6998/advertising-interval-configuration" /><item><title>RE: Advertising Interval configuration</title><link>https://devzone.nordicsemi.com/thread/24671?ContentTypeID=1</link><pubDate>Mon, 01 Jun 2015 12:40:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab15849f-9fee-4b25-8e75-8536e0cf1cce</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Sumit, your current consumption question is different and not related to this thread(and title). Can you please accept RK&amp;#39;s answer if you think that he has answered your main question. I recommend you to create another question regarding the power consumption.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Interval configuration</title><link>https://devzone.nordicsemi.com/thread/24668?ContentTypeID=1</link><pubDate>Wed, 13 May 2015 03:27:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d17c07f-70a9-4255-96bb-2004b1e69e2f</guid><dc:creator>SumitS</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using the following calculations to calculate the power consumption for the chip:&lt;/p&gt;
&lt;p&gt;Formulae to calculate battery power consumption:&lt;/p&gt;
&lt;p&gt;Current consumption is calculated /hour: BLE Transmission current = 16mA: active for 20ms/ minute, hence active for 1.2 seconds per hour BLE sleep current = 8uA: subtracting 1.2 seconds active period from 1 hour: in sleep for 3598.8 seconds/ hour&lt;/p&gt;
&lt;p&gt;Total current consumption/hour = (Active current consumption X time)/3600 + (Sleep current consumption X time)/3600&lt;/p&gt;
&lt;p&gt;Total current consumption = (16000 uA X 1.2 s)/3600 s + (8 uA X 3598.8 s)/3600 s&lt;/p&gt;
&lt;p&gt;Total current consumption for an hour = 5.3 uA + 8 uA&lt;/p&gt;
&lt;p&gt;Total current consumption an hour = 13.6 uA&lt;/p&gt;
&lt;p&gt;Total current consumption for day = 13.6 uA X 24&lt;/p&gt;
&lt;p&gt;Total current consumption for day = 326.4 uA&lt;/p&gt;
&lt;p&gt;Can you please tell me if this is correct or am i wrong somewhere?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Interval configuration</title><link>https://devzone.nordicsemi.com/thread/24670?ContentTypeID=1</link><pubDate>Tue, 12 May 2015 04:24:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:515da343-bf36-4130-a805-f10addec2a99</guid><dc:creator>SumitS</dc:creator><description>&lt;p&gt;We are using an battery with 10mA/H. Its a rechargeable battery. There are other peripherals on the board. Their power calculation is done using the same equation.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Interval configuration</title><link>https://devzone.nordicsemi.com/thread/24669?ContentTypeID=1</link><pubDate>Tue, 12 May 2015 04:22:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14a53250-5292-44fa-9985-eec101364203</guid><dc:creator>SumitS</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using the following calculations to calculate the power consumption for the chip:&lt;/p&gt;
&lt;p&gt;Formulae to calculate battery power consumption:&lt;/p&gt;
&lt;p&gt;Current consumption is calculated /hour:
BLE Transmission current = 16mA: active for 20ms/ minute, hence active for 1.2 seconds per hour
BLE sleep current = 8uA: subtracting 1.2 seconds active period from 1 hour: in sleep for 3598.8 seconds/ hour&lt;/p&gt;
&lt;p&gt;Total  current consumption/hour =  (Active current consumption X time)/3600 +  (Sleep current consumption X time)/3600&lt;/p&gt;
&lt;p&gt;Total  current consumption =  (16000 uA X 1.2 s)/3600 s +  (8 uA X 3598.8 s)/3600 s&lt;/p&gt;
&lt;p&gt;Total  current consumption for an hour =  5.3 uA  +  8  uA&lt;/p&gt;
&lt;p&gt;Total  current consumption an hour =  13.6 uA&lt;/p&gt;
&lt;p&gt;Total  current consumption for day =  13.6 uA X 24&lt;/p&gt;
&lt;p&gt;Total  current consumption for day =  326.4 uA&lt;/p&gt;
&lt;p&gt;Can you please tell me if this is correct or am i wrong somewhere?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Advertising Interval configuration</title><link>https://devzone.nordicsemi.com/thread/24667?ContentTypeID=1</link><pubDate>Mon, 11 May 2015 11:44:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:59091a9b-1594-4457-bcb0-f8da05f287ce</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;No you can&amp;#39;t configure for more than 10.24 seconds, that&amp;#39;s the max that the BTLE spec allows.&lt;/p&gt;
&lt;p&gt;the function to stop advertising is sd_ble_gap_adv_stop(), it&amp;#39;s listed right below the one to start advertising, sd_ble_gap_adv_start().&lt;/p&gt;
&lt;p&gt;You must have a very small battery. Typically devices which advertise a lot more often than once every 10 seconds have battery lives measured in months or years. What&amp;#39;s your calculation for battery life based on?&lt;/p&gt;
&lt;p&gt;Yes you can turn advertising on for a short time, then, using a timer, turn it off again (or possibly even just use the advertising timeout value to turn it off, that probably works). Then use a timer to wake up and start it again a number of minutes later. You can start and stop advertising as many times as you like.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>