<?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>Power Profile Example Connection Interval Problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17918/power-profile-example-connection-interval-problem</link><description>I am testing the SDK (v12) Power Profile Example with the DK51 and the nRF51 dongle. My purpose is test if I can lower the power consumption as mush as possible. The default value of the connection interval in the source code is 20ms. I can use the dongle</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 24 Nov 2016 13:41:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17918/power-profile-example-connection-interval-problem" /><item><title>RE: Power Profile Example Connection Interval Problem</title><link>https://devzone.nordicsemi.com/thread/69084?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2016 13:41:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:143b752c-8e34-4c0c-ab89-1ff1c2a79150</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;The question in your second comment seems to be a duplicate of &lt;a href="https://devzone.nordicsemi.com/question/104150/how-to-test-ble-power-profiling-example-with-nrf-connect/"&gt;this&lt;/a&gt;, I suggest you reply to my comment there.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profile Example Connection Interval Problem</title><link>https://devzone.nordicsemi.com/thread/69086?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2016 13:31:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e1511fc-829f-4ae6-9be4-8478f42859e2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;If the connection interval is 2s (and slave latency is 0) the central will send a packet to the peripheral every 2s, and the peripheral will reply to all of these packets (the reply can be empty packet). If you use a timer to send a notification every 5 second, and the connection interval is still 2s, the time since the central received the previos notification would be 4 or 6 seconds.&lt;/p&gt;
&lt;p&gt;Most of our examples use the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v12.0.0/lib_ble_conn_params.html?cp=4_0_0_3_1_3"&gt;Connection Parameters Negotiation&lt;/a&gt; module, but you can also implement something yourself by following MSC I linked to in my answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profile Example Connection Interval Problem</title><link>https://devzone.nordicsemi.com/thread/69085?ContentTypeID=1</link><pubDate>Thu, 24 Nov 2016 06:53:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca75bdbf-e75a-435b-9f67-bb48afe1bcf3</guid><dc:creator>garypty</dc:creator><description>&lt;p&gt;I have tested to change the &lt;code&gt;APP_CFG_CONNECTION_INTERVAL&lt;/code&gt; in the ble_app_pwr_profiling example to 1000 (that is 1000ms), but I found that it does not change anything when I test it with the Master Control Panel. I still receive notification every 20ms. Then if I change the connection interval in the Master Control Panel Option to 1000ms, I found that the received notification become 1000ms. So what is the usage to config &lt;code&gt;APP_CFG_CONNECTION_INTERVAL&lt;/code&gt; in the example?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profile Example Connection Interval Problem</title><link>https://devzone.nordicsemi.com/thread/69083?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 17:14:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:10d552a4-9ffe-41f2-8b83-bbf21e670091</guid><dc:creator>garypty</dc:creator><description>&lt;p&gt;Having read your post, it seems a suitable connection interval is about 1-2s if considering to work with apple device. In this case, if I call &lt;code&gt;power_manage();&lt;/code&gt; in a infinity loop, and set up a RTC timer which triggered, for example, every 5s to send a notification. Will the nrf51 wake up at connection interval time (that is 1-2s) or it wake up every 5s when the RTC triggered? Also do you have an example about updating the connection parameter after service discovery?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profile Example Connection Interval Problem</title><link>https://devzone.nordicsemi.com/thread/69082?ContentTypeID=1</link><pubDate>Wed, 23 Nov 2016 09:07:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:07a5a0ac-fb3f-4c5d-9172-d62eafea0b54</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Yes, but it is not that black &amp;amp; white, see &lt;a href="https://devzone.nordicsemi.com/question/46510/how-can-the-peripheralslave-sleep-as-much-as-possible/"&gt;this&lt;/a&gt; for more information.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Yes. That is a drawback of increaseing it. What you can do is to start off with a short interval, and then try to increase it by sending a &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.s130.api.v2.0.1/group___b_l_e___g_a_p___c_p_u___m_s_c.html?cp=3_7_2_1_0_2_1_3_7"&gt;CPU request&lt;/a&gt; to the central, after service discovery has completed.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>