<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://test-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>BLE power consumption spikes</title><link>https://test-devzone.nordicsemi.com/f/nordic-q-a/87800/ble-power-consumption-spikes</link><description>Hello. I am designing an application where the goal is to send a notification, sleep for 1 second, send another etc. 
 To do this I used the application designed in this guide: https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/getting-started</description><dc:language>en-US</dc:language><generator>Telligent Community 13 Non-Production</generator><lastBuildDate>Thu, 12 May 2022 12:46:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://test-devzone.nordicsemi.com/f/nordic-q-a/87800/ble-power-consumption-spikes" /><item><title>RE: BLE power consumption spikes</title><link>https://test-devzone.nordicsemi.com/thread/367621?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 12:46:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e8232c14-e934-4f66-b264-829697e5e88c</guid><dc:creator>user115252</dc:creator><description>&lt;p&gt;Hello. I tried updating the parameters in the prj.conf file as suggested in the guide you linked(the part about peripheral):&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1652359077868v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;However it throws this error when building:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1652359124157v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE power consumption spikes</title><link>https://test-devzone.nordicsemi.com/thread/367593?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 11:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2e984f0-89e4-4a07-8865-5b7e9742eb72</guid><dc:creator>user2111</dc:creator><description>&lt;p&gt;Check out:&amp;nbsp;&lt;br /&gt;&lt;a href="https://test-devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/building-a-bluetooth-application-on-nrf-connect-sdk-part-3-optimizing-the-connection"&gt;https://devzone.nordicsemi.com/guides/nrf-connect-sdk-guides/b/software/posts/building-a-bluetooth-application-on-nrf-connect-sdk-part-3-optimizing-the-connection&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Slave latency is the &amp;quot;magic&amp;quot; parameter here.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE power consumption spikes</title><link>https://test-devzone.nordicsemi.com/thread/367590?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 11:50:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d070e05-108a-47b1-83aa-793afb3f57d9</guid><dc:creator>user2111</dc:creator><description>&lt;p&gt;Can you try to run for instance:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_lbs/README.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/samples/bluetooth/peripheral_lbs/README.html&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Possible with&amp;nbsp;&lt;span&gt;CONFIG_SERIAL=n in prj.conf (and&amp;nbsp;in child_image/hci_rpmsg.conf).&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kenneth&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: BLE power consumption spikes</title><link>https://test-devzone.nordicsemi.com/thread/367583?ContentTypeID=1</link><pubDate>Thu, 12 May 2022 11:37:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eeabdfa0-6ec8-4bd7-b162-48222b59f9c9</guid><dc:creator>user115252</dc:creator><description>&lt;p&gt;Update: I figured out that they are probably from the peripheral sending empty packets to keep the connection alive&lt;/p&gt;
&lt;p&gt;&lt;img src="https://test-devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/pastedimage1652355176077v1.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The question then becomes how to increase the length between these. The maximum value is supposed to be 4s which would be sufficient. I tried changing the default values of the connection parameters in gap.h and conn.h but to no effect.&lt;/p&gt;
&lt;p&gt;I also tried using the bt_conn_le_param_update in the zephyr API but was not able to make it work (&lt;a href="https://docs.zephyrproject.org/latest/doxygen/html/group__bt__conn.html#gab44a964725f54ed2d37de17c6e2fd3eb"&gt;https://docs.zephyrproject.org/latest/doxygen/html/group__bt__conn.html#gab44a964725f54ed2d37de17c6e2fd3eb&lt;/a&gt;)&lt;/p&gt;
&lt;p&gt;The central I&amp;#39;m using is an iPhone so the iOS parameter requirements need to be fulfilled aswell&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>