<?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>Reset Modem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/48316/reset-modem</link><description>Hi, 
 When using CFUN=0, the modem stores settings (such as system mode and successful network connection information) to the flash from what I can gather, but it then needs to be power cycled to function again. How do you go about doing that in the application</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 26 Aug 2019 13:53:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/48316/reset-modem" /><item><title>RE: Reset Modem</title><link>https://devzone.nordicsemi.com/thread/206142?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 13:53:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5c05de1d-0257-45ef-b3f1-69f7ff6d69de</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Manuel,&lt;/p&gt;
&lt;p&gt;Could you share your .config file in the zephyr build folder?&lt;/p&gt;
&lt;p&gt;Could you share any log output from your testing?&lt;/p&gt;
&lt;p&gt;Could you share a code snippet when you call the function&amp;nbsp;&lt;em&gt;sys_reboot(SYS_REBOOT_COLD&lt;/em&gt;);?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset Modem</title><link>https://devzone.nordicsemi.com/thread/206116?ContentTypeID=1</link><pubDate>Mon, 26 Aug 2019 12:31:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:812eefa9-8217-43aa-aea0-10ce1f6698b7</guid><dc:creator>mschweig</dc:creator><description>&lt;p&gt;Hi Martin,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I tried to implement the same functionality, but the system reboot is not carried out.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I wanted to let the system reboot when a timer interrupt is&amp;nbsp;called.&lt;/p&gt;
&lt;p&gt;The timer interrupt is triggered and I set CONFIG_REBOOT=y in prj.conf&lt;br /&gt;&lt;br /&gt;But the system is not rebooting it does nothing anymore after sys_reboot();&lt;br /&gt;&lt;br /&gt;Can you help me?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset Modem</title><link>https://devzone.nordicsemi.com/thread/192875?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 09:26:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8fd96574-17ae-435d-9cc9-931fb11d7076</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Thomas,&lt;/p&gt;
&lt;p&gt;If you turn off the modem (CFUN=0) there is no other way to turn it on other than to do a power cycle.&lt;br /&gt;You can do this from the application by enabling it from the prj.conf file (or &lt;a href="https://devzone.nordicsemi.com/nordic/cellular-iot-guides/b/getting-started-cellular/posts/nrf-connect-sdk-tutorial#h171sjwm57amqljixlgj8fsbkhn3627"&gt;menuconfig &lt;/a&gt;):&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_REBOOT=y&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;and add &lt;em&gt;#include &amp;lt;misc/reboot.h&amp;gt;&lt;/em&gt; in your application where you can call the function:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;sys_reboot(SYS_REBOOT_COLD);&lt;/pre&gt;&lt;br /&gt;This will reboot your device and also the modem.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;note:&amp;nbsp;&lt;/strong&gt;Add a delay after the AT+CFUN=0 so the modem can do a graceful shutdown from the network and store data in the modem flash.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset Modem</title><link>https://devzone.nordicsemi.com/thread/192809?ContentTypeID=1</link><pubDate>Fri, 14 Jun 2019 01:07:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:547833fa-3bfa-4338-860c-8c3eb6c103a1</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;You are right, CFUN=4 does not save it to the NVM and from what I&amp;#39;ve gathered only CFUN=0 does so. So&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/members/male"&gt;Martin Lesund&lt;/a&gt;, do you know if there is a way to reset the modem without resetting the application as well?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset Modem</title><link>https://devzone.nordicsemi.com/thread/192786?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 18:01:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1aff5a5-9457-450c-b774-f9fbcd3f4978</guid><dc:creator>jbrzozoski</dc:creator><description>&lt;p&gt;lte_lc_offline only does &amp;quot;AT+CFUN=4&amp;quot;. I didn&amp;#39;t think that would save modem configuration to NVM like &amp;quot;AT+CFUN=0&amp;quot;.&amp;nbsp; Was I wrong?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset Modem</title><link>https://devzone.nordicsemi.com/thread/192735?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 13:47:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1914ad60-21e0-4d53-b517-08f23037e8b8</guid><dc:creator>Martin Lesund</dc:creator><description>&lt;p&gt;Hi Thomas,&lt;/p&gt;
&lt;p&gt;If you are using the &lt;em&gt;l&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/drivers/lte_link_control/lte_lc.c" rel="noopener noreferrer" target="_blank"&gt;te_link_control&amp;nbsp;&lt;/a&gt;&lt;/em&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/master/drivers/lte_link_control/lte_lc.c" rel="noopener noreferrer" target="_blank"&gt;driver&lt;/a&gt;&amp;nbsp;you can just call the&amp;nbsp;&lt;em&gt;lte_lc_offline()&lt;/em&gt; function in the application to turn off the modem and then&amp;nbsp;&lt;em&gt;lte_lc_init_and_connect()&amp;nbsp;&lt;/em&gt;re-initialize the modem.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Reset Modem</title><link>https://devzone.nordicsemi.com/thread/192531?ContentTypeID=1</link><pubDate>Thu, 13 Jun 2019 03:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19f7bb8e-272b-42d0-919b-562121927cda</guid><dc:creator>Thomas</dc:creator><description>&lt;p&gt;From some experimentation, I found that resetting the application in the firmware resets the modem as well.&lt;/p&gt;
&lt;p&gt;Could anyone at Nordic comment if the modem can be reset separately to the application?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>