<?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>How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/60079/how-to-reduce-power-consumption-in-mqtt_simple-project-with-small-keep-alive</link><description>Hello, Nordic community, 
 
 I built and successfully run mqtt_simple project on our MQTT broker using v1.1.0 firmware and NCS. 
 
 I edited CONFIG_SERIAL=n in spm and mqtt_simple example. 
 
 Case 1 : I configured and uploaded code on a device with 60</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 22 Apr 2020 07:59:43 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/60079/how-to-reduce-power-consumption-in-mqtt_simple-project-with-small-keep-alive" /><item><title>RE: How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/thread/245963?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2020 07:59:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fc8c3c4b-c7e3-425c-b567-85fabd0a83d9</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;With eDRX, you will also turn off the radio for a longer interval than normal (though not as long as with PSM).&lt;/p&gt;
&lt;p&gt;The smallest &amp;quot;eDRX interval&amp;quot; that you can configure is 5.12 seconds.&lt;/p&gt;
&lt;p&gt;If that (or longer) is acceptable, then yes, you can use eDRX, but then it does not make sense to send keep-alive messages every 5 seconds.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/thread/245952?ContentTypeID=1</link><pubDate>Wed, 22 Apr 2020 07:14:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7681bed3-352f-4236-998b-24b72c38f76d</guid><dc:creator>Nikunj</dc:creator><description>&lt;p&gt;hello Didrik,&lt;/p&gt;
&lt;p&gt;Could we solve this issue by edrx?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/thread/245250?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 13:25:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4d5d7eb-970a-48ae-85d8-2ca8bcb70c60</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;In order to reduce the latency, you must stay in RRC connected mode. However, that means that you are listening on the radio, which means higher power consumption.&lt;/p&gt;
&lt;p&gt;Most of the power saving features in the network are ways for the device to turn off the radio for longer periods of time. However, this naturally increases the expected latency.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/thread/245233?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 12:22:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e31bcce8-668f-4ff6-8c7a-6288f27c9d00</guid><dc:creator>Nikunj</dc:creator><description>&lt;p&gt;Hello Didrik Rokhhaug,&lt;/p&gt;
&lt;p&gt;The reason behind low latency is that there is sensitive switch connected with device which needs to be trigger quick once user commands from server.&lt;/p&gt;
&lt;p&gt;The user can send command any time from server that&amp;#39;s why send data is frequent.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nikunj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/thread/245207?ContentTypeID=1</link><pubDate>Fri, 17 Apr 2020 11:02:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e337e0c1-8d2d-44c4-8583-e9132fda2ac5</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi, and sorry for not being able to reply faster.&lt;/p&gt;
&lt;p&gt;Did you try to subscribe to +CSCON notifications?&lt;/p&gt;
&lt;p&gt;Did the show that the device enters RRC idle mode?&lt;/p&gt;
&lt;p&gt;If not, and with data transmission every 5 seconds, I am not really aware of how you can lower the power consumption.&lt;/p&gt;
&lt;p&gt;At least not if you want to maintain a low latency on downlink packages (from a server to the device).&lt;/p&gt;
&lt;p&gt;Why do you send data to the device frequently, and why do you need low latency?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/thread/244995?ContentTypeID=1</link><pubDate>Thu, 16 Apr 2020 12:37:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13a7ef37-24cd-40f6-a6bb-330cf3c4495d</guid><dc:creator>Nikunj</dc:creator><description>&lt;p&gt;Hello Nordic Community,&lt;/p&gt;
&lt;p&gt;I found the issue during just next to manufacturing phase. Is there any alternative for faster message transfer(from broker to device) with lower power consumption?&lt;/p&gt;
&lt;p&gt;any suggestion regarding this would be helpful. I am just using default &lt;strong&gt;mqtt_simple&lt;/strong&gt; code with 5 seconds keep alive period on own mqtt broker. The reason behind 5 second is faster messages are transfer, any other alternative I can also try.&lt;/p&gt;
&lt;p&gt;How can I suppose to reduce current consumption?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nikunj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/thread/244470?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 13:40:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0bfca6a-b3b1-4844-96a0-86a6aaf8071b</guid><dc:creator>Nikunj</dc:creator><description>&lt;p&gt;Thanks for reply Didrik,&lt;/p&gt;
&lt;p&gt;I am using vodafone ireland SIM for connection.&lt;/p&gt;
&lt;p&gt;I need faster message transfer from server to device for that I used 5 seconds.&lt;/p&gt;
&lt;p&gt;Is there any other alternative for faster message transfer?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nikunj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/thread/244419?ContentTypeID=1</link><pubDate>Tue, 14 Apr 2020 12:01:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:745691cb-125b-4ee0-b3db-80255e6dfad7</guid><dc:creator>Didrik Rokhaug</dc:creator><description>&lt;p&gt;Hi.&lt;/p&gt;
&lt;p&gt;One possible reason for not seeing a drop in the current consumption is that the device does not enter RRC idle mode. How long it takes to enter RRC idle depends on the network, but 5 seconds might not be enough time to be released from the network.&lt;/p&gt;
&lt;p&gt;You can see if your device enters RRC idle by using the +CSCON AT command to subscribe to connection status notifications.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Didrik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/thread/244216?ContentTypeID=1</link><pubDate>Fri, 10 Apr 2020 12:18:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:20f7de48-160e-43c5-b92b-3c7c14c7f706</guid><dc:creator>Nikunj</dc:creator><description>&lt;p&gt;Thanks for suggestion hkarthik97&lt;/p&gt;
&lt;p&gt;Message is transmitted from mqtt broker to nRF9160 device so I can not put nRF9160 into sleep mode.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Nikunj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to reduce power consumption in mqtt_simple project with small keep alive</title><link>https://devzone.nordicsemi.com/thread/244214?ContentTypeID=1</link><pubDate>Fri, 10 Apr 2020 11:59:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:91e44eed-662c-43c5-92fd-38bf0b1e639c</guid><dc:creator>hkarthik97</dc:creator><description>&lt;p&gt;Did u try to put your unit to sleep when it is not transmitting data?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>