<?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>low power in advertising</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35741/low-power-in-advertising</link><description>About example BLE_uart, 
 My device must always remain in advertising, I&amp;#39;m using a 1280 ms between two advertisng event. 
 I have to minimize the consumption during advertining, and I need wake up the micro only with a bluetooth connection. 
 I do not</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 26 Jun 2018 08:05:51 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35741/low-power-in-advertising" /><item><title>RE: low power in advertising</title><link>https://devzone.nordicsemi.com/thread/137601?ContentTypeID=1</link><pubDate>Tue, 26 Jun 2018 08:05:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:14a9cbeb-39a5-4846-83fa-f49ae830b3c7</guid><dc:creator>bjorn-spockeli</dc:creator><description>&lt;p&gt;Hi Marco,&lt;/p&gt;
&lt;p&gt;the ble_app_uart example is a good starting point, but note that it enables the UART peripheral and the nRF Logging module.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I assume that your using SDK 15, so in order to reduce the current consumption of the ble_app_uart example you will have to disable these, i.e. set the following defines in sdk_config.h&lt;/p&gt;
&lt;p&gt;NRF_LOG_ENABLED 0&amp;nbsp;&lt;/p&gt;
&lt;p&gt;NRF_LOG_BACKEND_RTT_ENABLED 0&amp;nbsp;&lt;/p&gt;
&lt;p&gt;and comment out&lt;/p&gt;
&lt;p&gt;uart_init();&lt;/p&gt;
&lt;p&gt;printf(&amp;quot;\r\nUART started.\r\n&amp;quot;);&lt;/p&gt;
&lt;p&gt;in main().&amp;nbsp;&lt;/p&gt;
&lt;p&gt;A better choice might be to use the ble_app_template example which that does not enable logging or use any of the HW peripherals in the application code. It only advertises at a given interval and goes to low power mode in between advertisement events.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Bjørn&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>