<?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 gracefully shut down nRF9160 modem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/115301/how-to-gracefully-shut-down-nrf9160-modem</link><description>Hi, we are using the nRF9160 in conjunction with the nPM1300. To power off the device, we call lte_lc_power_off() which sends the AT+CFUN=0 command to the modem and waits for a response. Immediately afterwards, the nPM1300 is put in ship mode to turn</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 23 Oct 2024 22:12:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/115301/how-to-gracefully-shut-down-nrf9160-modem" /><item><title>RE: How to gracefully shut down nRF9160 modem</title><link>https://devzone.nordicsemi.com/thread/507657?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2024 22:12:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7658985b-9b7f-488f-9535-9e7f1390aa8d</guid><dc:creator>Dominic</dc:creator><description>&lt;p&gt;Thank you. I was able to solve the issue on modem version 1.3.6 by introducing a short delay between calling CFUN=0 and powering off the device.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to gracefully shut down nRF9160 modem</title><link>https://devzone.nordicsemi.com/thread/505732?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2024 12:44:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e42b9524-7e89-4b18-bd2b-9d64212dbe20</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;When send() has returned that data has not been sent yet, it has only been queued to be sent. Sending happens usually shortly afterwards.&lt;br /&gt;Switching to CFUN=0 and powering off prevents the last message from going out. There is a proper way for data to be sent in modem firmware version 2.0.x but not in 1.3.x. Therefore, you would need to implement something at protocol level (e.g. waits for ack to the last message) or you would need to wait couple of seconds after the very last send() operation before switching to CFUN=0 and turning off the power. However, if by &amp;quot;&lt;span&gt;modem does not send a data session ended event&lt;/span&gt;&amp;quot; you think about something LTE related, then we would need a modem trace for further investigation.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to gracefully shut down nRF9160 modem</title><link>https://devzone.nordicsemi.com/thread/505628?ContentTypeID=1</link><pubDate>Wed, 09 Oct 2024 17:35:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:69c8492e-6927-4127-8ca7-7abbc38690de</guid><dc:creator>Dominic</dc:creator><description>&lt;p&gt;Unfortunately I won&amp;#39;t be able to get modem logs until next week. In the meantime, can you confirm the presence of this &amp;#39;ready&amp;#39; flag for cutting power to the nRF9160 that the Nordic FAE mentioned?&lt;/p&gt;
&lt;div id="highlighter--hover-tools" style="display:none;"&gt;
&lt;div id="highlighter--hover-tools--container"&gt;
&lt;div class="highlighter--icon highlighter--icon-copy" title="Copy"&gt;&lt;/div&gt;
&lt;div class="highlighter--icon highlighter--icon-change-color" title="Change Color"&gt;&lt;/div&gt;
&lt;div class="highlighter--icon highlighter--icon-delete" title="Delete"&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to gracefully shut down nRF9160 modem</title><link>https://devzone.nordicsemi.com/thread/505385?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2024 14:12:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac0e1d77-ded7-4e40-89f4-bb837fb4c969</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;Could you provide logs in those two different scenarios - AT+CFUN=4, and AT+CFUN=0 and npm1300 in ship mode?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>