<?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 of Serial LTE Modem with MQTT communication</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/70940/power-profile-of-serial-lte-modem-with-mqtt-communication</link><description>Hello NordicSemi and Developpers, 
 I am working on a project with using the nRF9160 SiP and running a slightly modified version of the Serial LTE Modem sample from the nRF connect SDK. I am using the in-built MQTT library to transmit data (30bytes) to</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Jan 2021 08:25:02 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/70940/power-profile-of-serial-lte-modem-with-mqtt-communication" /><item><title>RE: Power Profile of Serial LTE Modem with MQTT communication</title><link>https://devzone.nordicsemi.com/thread/291437?ContentTypeID=1</link><pubDate>Wed, 27 Jan 2021 08:25:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0d2ac9b-81fc-4eb9-9786-4af6c3620390</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hello again!&lt;br /&gt;&lt;br /&gt;Good to hear, Styve! Then the behavior of your device makes sense. The spikes in (2) is the device checking the network during &amp;quot;active time&amp;quot;. If the serial interface is active about 600µA is expected during PSM, but I&amp;#39;m not sure where the 21mA spikes originate from. However, there is no need to delve into that if it isn&amp;#39;t of concern.&lt;br /&gt;&lt;br /&gt;We don&amp;#39;t have any complete sample for using the Serial LTE Modem with MQTT, but I believe the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.4.2/nrf/applications/serial_lte_modem/doc/MQTT_AT_commands.html"&gt;documentation&lt;/a&gt; should cover it quite well.&amp;nbsp;If anything is unclear, I&amp;#39;m here to help of course!&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profile of Serial LTE Modem with MQTT communication</title><link>https://devzone.nordicsemi.com/thread/291338?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 15:42:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c92c9a91-79ae-4e7e-a72a-9ad8a2285ef8</guid><dc:creator>Styve Naoue</dc:creator><description>&lt;p&gt;Hello &lt;a href="https://devzone.nordicsemi.com/members/crfosse"&gt;Carl Richard&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks for you quick reply, it has been greatly helpful. We do use PSM with TAU=10min and 1 min active time, so the device barely has time to go into PSM that we already TX the next packet. This is ok though, I just tested with longer transmission intervals and saw about 580uA in PSM (maybe idle mode?) with periodic peaks of about 21mA spaced 1.3s apart. This is still too high for PSM but would not matter in our use case.&amp;nbsp;&lt;br /&gt;However, for future devs could you please refer me to Serial LTE Modem examples with MQTT in use?&amp;nbsp;&lt;br /&gt;Thanks again.&lt;br /&gt;best regards,&lt;/p&gt;
&lt;p&gt;Styve N.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Power Profile of Serial LTE Modem with MQTT communication</title><link>https://devzone.nordicsemi.com/thread/291281?ContentTypeID=1</link><pubDate>Tue, 26 Jan 2021 13:30:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:278a50bd-9813-47df-b053-f7505b728f4e</guid><dc:creator>Carl Richard</dc:creator><description>&lt;p&gt;Hi, Styve!&lt;br /&gt;&lt;br /&gt;Thanks for reaching out.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;1. The peaks you are seeing after transmission are expected. This is a duration of time, given by the RRC Inactive Timer, where the device stays connected to and reachable by the network. Unfortunately the timer is decided by the network provider, so it&amp;#39;s not much we can do about it. You could look into using &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/xrai_read.html"&gt;Release Assist Indication (RAI)&lt;/a&gt;, though that is not recommended when using TCP based protocols.&lt;br /&gt;&lt;br /&gt;2.&amp;nbsp;I&amp;#39;m not exactly sure where the peaks you are seeing here originates from. Is your device configured to use either or both of the LTE power saving mechanisms &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cpsms.html"&gt;PSM &lt;/a&gt;and &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cedrxs.html"&gt;eDRX&lt;/a&gt;? The peaks could be related to the device being configured to stay active for some time before going to sleep. The high current you are seeing in the idle state can have many explanations. The modem draws current if not offline or in PSM and as explained in our &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/app_power_opt.html#power-optimization"&gt;power optimization documentation&lt;/a&gt; the serial interface (and other peripherals) must be deactivated for optimal low-power operation.&lt;/p&gt;
&lt;p&gt;3. The behavior you are seeing is more or less expected for MQTT over a cellular network. However, the&amp;nbsp;current draw of your device can be significantly improved by employing PSM or some other way to make the device sleep in between transmissions.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Hope this helps with your troubles.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Carl Richard&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>