<?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 consumption in LPN with DFU enabled</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/97578/power-consumption-in-lpn-with-dfu-enabled</link><description>Hello, 
 I&amp;#39;m trying to modify the Mesh light sample to be LPN node with DFU implemented but it seems that power consumption when I attach overlay-dfu.conf in the build goes very high from 6uA average to 507 uA average. What is the best way to reduce this</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Mar 2023 06:05:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/97578/power-consumption-in-lpn-with-dfu-enabled" /><item><title>RE: Power consumption in LPN with DFU enabled</title><link>https://devzone.nordicsemi.com/thread/415592?ContentTypeID=1</link><pubDate>Thu, 16 Mar 2023 06:05:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ebae628-902d-430e-b5ed-cc7b59315ab5</guid><dc:creator>Mustafa</dc:creator><description>&lt;p&gt;Thanks Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in LPN with DFU enabled</title><link>https://devzone.nordicsemi.com/thread/415497?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 14:05:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e4a4f7b-a0b3-4d0d-a4f5-65654394e1b1</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Please be aware that the DFU here is not a DFU over Bluetooth Mesh. It is DFU over BLE, so in order to update it, you need to connect to it via BLE, and then perform the update. Those are the advertisements that you are seeing. I think once a second is not that bad, but of course, you can adjust this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can see in the smp_dfu.c file that it starts advertising with adv_params: .interval_min = BT_GAP_ADV_SLOW_INT_MIN and .interval_max = BT_GAP_ADV_SLOW_INT_MAX. You can change these if you like.&lt;/p&gt;
&lt;p&gt;BR,&lt;br /&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in LPN with DFU enabled</title><link>https://devzone.nordicsemi.com/thread/415411?ContentTypeID=1</link><pubDate>Wed, 15 Mar 2023 10:19:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6d46035-a4c2-43f0-821b-90baab60eade</guid><dc:creator>Mustafa</dc:creator><description>&lt;p&gt;Thanks, Edvin, it works now. but I notice now that the device advertises very frequently ( I think the adv interval is changed due to dfu service). is it possible to adjust the adv interval somewhere in the config files?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1678875530439v1.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in LPN with DFU enabled</title><link>https://devzone.nordicsemi.com/thread/415245?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2023 14:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2317d5fe-3768-4c79-b52d-9ac2c8cc8945</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;I see. I assume you have turned off e.g. logging in your LPN. However, it may be that this is turned back on in the bootloader. Try creating a file in:&lt;/p&gt;
&lt;p&gt;light\child_image\mcuboot.conf&lt;/p&gt;
&lt;p&gt;And disable the log from there by putting something like:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LOG=n
CONFIG_SERIAL=n&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Does that help?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in LPN with DFU enabled</title><link>https://devzone.nordicsemi.com/thread/415068?ContentTypeID=1</link><pubDate>Tue, 14 Mar 2023 08:29:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c26f506e-72bd-4336-8b49-c7984b2c3cf4</guid><dc:creator>Mustafa</dc:creator><description>&lt;p&gt;Hello Edvin,&lt;/p&gt;
&lt;p&gt;without DFU looks fine&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1678782488400v2.png" alt=" " /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power consumption in LPN with DFU enabled</title><link>https://devzone.nordicsemi.com/thread/414954?ContentTypeID=1</link><pubDate>Mon, 13 Mar 2023 14:38:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3962f458-472e-48a1-823a-3f6e818d0de0</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;What did the current consumption look like before you added the support for DFU? Did it have the same base current as you are seeing here? (the ~3mA)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>