<?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>nRF9160 schedule connect and disconnect LTE connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/95492/nrf9160-schedule-connect-and-disconnect-lte-connection</link><description>I am only want to send and MQTT message every day. Because of this I think it is better to turnoff the modem and reconnect when needed. I tried to alter the LTE Link example a bit but it does not work as expected. I think it has something to do with the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 08 Feb 2023 15:17:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/95492/nrf9160-schedule-connect-and-disconnect-lte-connection" /><item><title>RE: nRF9160 schedule connect and disconnect LTE connection</title><link>https://devzone.nordicsemi.com/thread/408950?ContentTypeID=1</link><pubDate>Wed, 08 Feb 2023 15:17:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ffdc60e3-f468-4ca6-a89e-646835c2ce13</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Sorry for the delays. Just wanted to know, if it is still an issue you require pursuing, or is using PSM enough for a solution?&lt;/p&gt;
&lt;p&gt;Anyways, I would also recommend using PSM instead of disconnecting and reconnecting, since it uses much less energy.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 schedule connect and disconnect LTE connection</title><link>https://devzone.nordicsemi.com/thread/404406?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 17:17:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6fa8130a-abf9-48e1-989f-4f0f6c902d95</guid><dc:creator>Michal</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Just wanted to let you know that I am looking into this case and will update you then I will find out more about it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Michal&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 schedule connect and disconnect LTE connection</title><link>https://devzone.nordicsemi.com/thread/404373?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 14:35:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04645352-c59a-4c78-a3ca-575ee3a49839</guid><dc:creator>Torje</dc:creator><description>&lt;p&gt;Does the case LTE_LC_EVT_NW_REG_STATUS even happen? Have you tried placing some logs there to see if it does? Perhaps place some logs in the end of the cases and the default to see if any other cases are happening? I had a similar problem earlier when the SIM was faulty.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 schedule connect and disconnect LTE connection</title><link>https://devzone.nordicsemi.com/thread/404366?ContentTypeID=1</link><pubDate>Wed, 11 Jan 2023 14:26:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d9d43c5a-d485-4cd5-be15-afb93c919dae</guid><dc:creator>thijsfranssen</dc:creator><description>&lt;p&gt;Hi Torje,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your message! I am using PSM now, consumption is ok. I have some issues now with config_serial=no but I will open another thread for it. I still don&amp;#39;t understand why my application is not working, if anyone in the meantime has an idea let me know.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 schedule connect and disconnect LTE connection</title><link>https://devzone.nordicsemi.com/thread/403875?ContentTypeID=1</link><pubDate>Mon, 09 Jan 2023 14:11:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c45b4803-6e77-4cdf-aa82-43f8846a0e52</guid><dc:creator>Torje</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;If you can use PSM on your network, it would probably be better to stay connected in PSM than disconnecting every day. Reconnecting requires renegotiation with the network, and this usually costs more power than just staying connected. I saw in some Nordic video that a general rule of thumb is that it&amp;#39;s better to stay in PSM for up to 68 hours.&lt;/p&gt;
&lt;p&gt;I can also tip about&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/55068/how-to-code-one-shot-mqtt-publish-function/375041"&gt;this thread&lt;/a&gt;. Not knowing if exactly 30 seconds is the right time, you could try something like that.&lt;/p&gt;
&lt;p&gt;I think I would use one thread that loops. Connect, send the msg (including polling etc), disconnect, sleep for 24 hours (perhaps adjust for the time is used if exact times are important)&lt;/p&gt;
&lt;p&gt;I see that your connecting/disconnecting every 30 seconds. Perhaps I misunderstood your post, but I interpreted it as you want to connect and send data once per day?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Torje&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>