<?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>Turn on and off modem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85830/turn-on-and-off-modem</link><description>Hi nordic. I want to turn on and off the modem of the nrf9160 when I&amp;#39;m not using it. When I am using it, I am using your FTP library to sent sensor data to my server. Here is the problem, If I do this for example: 
 
 
 On the last lte_lc_init_and_connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 17 Mar 2022 15:26:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85830/turn-on-and-off-modem" /><item><title>RE: Turn on and off modem</title><link>https://devzone.nordicsemi.com/thread/358718?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2022 15:26:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7050e33e-c812-472d-aa17-8d37b02f5b31</guid><dc:creator>nWre</dc:creator><description>&lt;p&gt;Hi! You are correct. I tried this and it worked fine. I still have some data transmission problems but I started another thread for this. Thank you Hakon, you the man.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Turn on and off modem</title><link>https://devzone.nordicsemi.com/thread/358713?ContentTypeID=1</link><pubDate>Thu, 17 Mar 2022 15:08:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6cf4f160-9938-4beb-a7b3-80976080cd9f</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;you&amp;#39;re not supposed to initialize the modem more than once. So instead of calling lte_lc_init_and_connect() twice, you should just call &lt;span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;span&gt;lte_lc_connect&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;() the second time since the modem is already initialized.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>