<?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>LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51703/lte-link-connecting-is-blocking</link><description>Hi 
 In the mqtt_simple example there is a line &amp;quot; modem_configure(); &amp;quot; which establishes the LTE Link connection. If connecting the LTE link is not possible (for example no signal), this function never returns. 
 1. Is this the intention of this function</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Nov 2019 09:41:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51703/lte-link-connecting-is-blocking" /><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/219847?ContentTypeID=1</link><pubDate>Wed, 13 Nov 2019 09:41:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09420613-eda4-42da-a6d2-4916f5bf42db</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I got a reply:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;Delays in these new logs are caused by SIM Refresh.&lt;/em&gt;&lt;br /&gt;&lt;em&gt;In most logs only the third profile is able to register, first two got reject with cause #14 or #15.&lt;/em&gt;&lt;br /&gt;&lt;em&gt;It&amp;#39;s up to the SIM card how quickly it will change the profile.&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;cause #14&lt;/em&gt;&lt;br /&gt;&lt;em&gt;IMSI: 901430000623824&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Mobile Country Code (MCC): International Mobile, shared code (901)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Mobile Network Code (MNC): EMnify GmbH (43)&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;cause #15&lt;/em&gt;&lt;br /&gt;&lt;em&gt;IMSI: 206018874001895&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Mobile Country Code (MCC): Belgium (206)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Mobile Network Code (MNC): Proximus (01)&lt;/em&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;OK&lt;/em&gt;&lt;br /&gt;&lt;em&gt;IMSI: 295050900053251&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Mobile Country Code (MCC): Liechtenstein (295)&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Mobile Network Code (MNC): Telecom Liechtenstein AG (05)&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;Hopefully, this helped you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/219644?ContentTypeID=1</link><pubDate>Tue, 12 Nov 2019 11:55:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbba658c-ebed-4f6c-88c2-7c060b4027ec</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Thank you. I have provided the trace files internally and will report to you as soon as I get a reply.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/219481?ContentTypeID=1</link><pubDate>Mon, 11 Nov 2019 13:23:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:83cd45ee-04d1-46a0-b0ef-e1960996fd3c</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;Here are some more trace files for you to analyse if you want. Today there was no single LTE connection attempt shorter than about 2 minutes. But I think you will see that in the trace files.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/Traces11_5F00_11_5F00_2019.zip"&gt;devzone.nordicsemi.com/.../Traces11_5F00_11_5F00_2019.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I had some difficulties to record the traces this time because the connection between the Trace Collector and the eval board or the connetion between the LTE link monitor and the eval board were lost relatively often. I have no idea why...&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/219240?ContentTypeID=1</link><pubDate>Fri, 08 Nov 2019 10:10:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:52ace8e3-fc7e-4e48-bd1c-6e3d9ff164e1</guid><dc:creator>Simon</dc:creator><description>[quote user="Exelor AG"]Thank you for your answers. So its most likely an issue of our national telecom provider[/quote]
&lt;p&gt;&amp;nbsp;Yes, based on the trace you sent. If you sent more traces from other delays, we can confirm this with more certainty.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/218952?ContentTypeID=1</link><pubDate>Thu, 07 Nov 2019 06:11:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5af5cff7-ff27-4ac8-a3bc-e2ac15e84f25</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;Thank you for your answers. So its most likely an issue of our national telecom provider. I will discuss this with them. Because these long connection times have a big influence of the total power consumption of an battery powered IoT device out in the field.&lt;/p&gt;
&lt;p&gt;The SIM card is specially for IoT purpose (for the M1 Network; NB is not yet supported at the moment).&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/217741?ContentTypeID=1</link><pubDate>Thu, 31 Oct 2019 11:53:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:927a5399-62f9-4134-9cee-0c9ba29e6b74</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Nothing is pointing to anything wrong on&amp;nbsp;your&amp;nbsp;side (nRF91), the network seems to have some capacity issues or other issues causing temporary registration failures.&lt;/p&gt;
&lt;p&gt;However, without seeing additional logs from various delays we are&amp;nbsp;not able to say anything for sure, there are always possibilities for errors in modem SW or maybe we can suggest workarounds for certain problems.&lt;/p&gt;
&lt;p&gt;If&amp;nbsp;you can provide more logs we can check those.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;One thing I would&amp;nbsp;suggest is to check with the operator that the SIM they are using is intended for IoT devices and is expected to work in the M1 network.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/217433?ContentTypeID=1</link><pubDate>Wed, 30 Oct 2019 06:47:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4be4a85a-3602-4206-8ab9-bf35dad6ab5f</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;Thank you for your reply. What exactly does this mean for us? I do not really understand, i am not an expert on LTE network connections. Are we doing something wrong?&lt;/p&gt;
&lt;p&gt;The only thing I can say is that we are always using the same SIM for all our tests.&lt;/p&gt;
&lt;p&gt;regards Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/217277?ContentTypeID=1</link><pubDate>Tue, 29 Oct 2019 09:53:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1cabf739-db2b-435c-b2e8-1e17eb70ce71</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;&lt;span style="text-decoration:underline;"&gt;I got the following reply:&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&amp;quot;Without log from different delays not possible to say what is the reason in that case but sounds like failures are not always because of ESM cause #26.&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;If same SIM is always used then there is no difference in &amp;quot;NAS Signalling Low Priority&amp;quot;, that is one factor defining UE behavior. If UE is configured for &amp;quot;NAS Signalling Low Priority&amp;quot; next attempt for ESM cause #26 will be done after 10 seconds.&lt;/em&gt;&lt;br /&gt;&lt;em&gt;Network can include backoff timer value in reject and in that case delay given by network is used.&lt;/em&gt;&lt;br /&gt;&lt;em&gt;With different EMM and ESM reject causes UE might be allowed to retry after 10 seconds.&amp;quot;&lt;/em&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/217214?ContentTypeID=1</link><pubDate>Mon, 28 Oct 2019 21:16:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d101c82-e782-4aa8-b1d1-4ab923fb043b</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Sorry for the delay, I will ask internally tomorrow about this when I&amp;#39;m in office.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/216478?ContentTypeID=1</link><pubDate>Thu, 24 Oct 2019 05:44:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:413d6f07-f2fc-4e89-8308-057225092409</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;Thank you for this analysis. So it&amp;#39;s our national provider who has not enough capacity. But this changes from minute to minute...&lt;br /&gt;The only thing strange are theese 12 minutes you mentioned, because the duration until the connection can be everything between some seconds, some minutes to over 10 minutes. It&amp;#39;s not always fix 12 minutes.&lt;/p&gt;
&lt;p&gt;Best regards and thank you again&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/216353?ContentTypeID=1</link><pubDate>Wed, 23 Oct 2019 11:58:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:13d795e3-e598-4a1a-adf2-fce34c99149b</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I got a reply. The reason for the long connection time is because the network rejects the &lt;a href="https://www.netmanias.com/en/?m=view&amp;amp;id=techdocs&amp;amp;no=10441"&gt;Attach&lt;/a&gt;&amp;nbsp;Procedure, due to &lt;span&gt;cause #26 - insufficient resources (See &lt;a href="https://www.arib.or.jp/english/html/overview/doc/STD-T63V12_10/5_Appendix/Rel13/24/24301-d61.pdf"&gt;3GPP TS 24.301&lt;/a&gt;&amp;nbsp;Annex B, B.1)&lt;/span&gt;. A timer with a timeout of 12 minutes is then started, and a new attempt to attach is done when the timer expires.&lt;/p&gt;
&lt;p&gt;You should check with the operator if there is any plans to add more resources.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;
&lt;div style="left:-9px;position:absolute;top:75.4px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/215940?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 13:02:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee0672b1-304e-4e80-b906-a19855ff7eb3</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Thank you. I have informed the ones responsible about the modem trace, and I will keep you updated when I get answers.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/215925?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 12:37:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ab6d428-e714-488a-862c-272bd1beb3de</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;I have attached the modem &lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2019_2D00_10_2D00_21T12_2D00_15_2D00_37.075Z.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2019_2D00_10_2D00_21T12_2D00_15_2D00_37.075Z.bin&lt;/a&gt;trace file. It took several minutes to establish the LTE connection for this trace file.&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/215868?ContentTypeID=1</link><pubDate>Mon, 21 Oct 2019 09:37:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8298efbd-15c1-49eb-925e-5a3c356d0f46</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I have reported your issue internally, and I am currently waiting for an answer. Could you &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/how-to-get-modem-trace-using-trace-collector-in-nrf-connect"&gt;provide a modem trace&lt;/a&gt; in the meantime?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/215449?ContentTypeID=1</link><pubDate>Thu, 17 Oct 2019 09:24:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38376fa2-3b3c-4c60-9992-afbfb5211a4a</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;First it looked better after calling &amp;quot;lte_lc_power_off()&amp;quot; and power cycling the board. The connection was estalished several times in a row after only some seconds. But I allways had such phases with faster connection times.&lt;br /&gt;After some intense testing, I thing it is the same as before. Sometimes it needs only 2s or 3s, but sometimes it nees over 5 minutes or even longer to establish the LTE connection.&lt;/p&gt;
&lt;p&gt;Are the settings persistantly stored on the modem after &amp;quot;lte_lc_power_off()&amp;quot; or are they deleted after erasing the target and downloading a new intel HEX file? Or even when resetting the target an starting a new debug session?&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/215281?ContentTypeID=1</link><pubDate>Wed, 16 Oct 2019 12:04:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:020c527b-22d9-410f-9e2f-cf5de93937e5</guid><dc:creator>Simon</dc:creator><description>[quote user="Exelor AG"]What exacltly do you mean with &amp;quot;AT+CFUN=0&amp;quot;? As I understand, it&amp;#39;s the same as &amp;quot;lte_lc_power_off()&amp;quot;, what causes a power off of the modem?[/quote]
&lt;p&gt;I understand your confusion. I could not really find much documentation confirming that the modem settings are stored when calling this&amp;nbsp;&lt;span style="font-family:inherit;"&gt;(except for a lot of&amp;nbsp; devzone cases: &lt;/span&gt;&lt;a style="font-family:inherit;" href="https://devzone.nordicsemi.com/f/nordic-q-a/48316/reset-modem"&gt;here&lt;/a&gt;&lt;span style="font-family:inherit;"&gt;, &lt;/span&gt;&lt;a style="font-family:inherit;" href="https://devzone.nordicsemi.com/f/nordic-q-a/49060/how-to-change-nrf9160-s-default-modem-firmware-from-m1-to-nb1"&gt;here&lt;/a&gt;&lt;span style="font-family:inherit;"&gt;&amp;nbsp;and &lt;/span&gt;&lt;a style="font-family:inherit;" href="https://devzone.nordicsemi.com/f/nordic-q-a/48316/reset-modem/206142"&gt;here&lt;/a&gt;&lt;span style="font-family:inherit;"&gt;). In &lt;/span&gt;&lt;a style="font-family:inherit;" href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fref_at_commands%2FREF%2Fat_commands%2Fmob_termination_ctrl_status%2Fcfun_set.html&amp;amp;resultof=%22cfun%22%20"&gt;the nRF91 AT Commands documentation&lt;/a&gt;&lt;span style="font-family:inherit;"&gt; it says the following:&lt;/span&gt;&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;When commanding the device to power off, wait for OK to make sure that&amp;nbsp;&lt;a title="Memory that can retrieve stored information even after having been power-cycled." href="https://infocenter.nordicsemi.com/topic/ref_at_commands/dita_common/glossary/glossary.html#nvm"&gt;&lt;dfn&gt;Non-volatile Memory (NVM)&lt;/dfn&gt;&lt;/a&gt;&amp;nbsp;has been updated.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;In the &lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/ug_nrf9160.html#network-mode"&gt;NCS documentation&lt;/a&gt; it says the following:&lt;/p&gt;
&lt;p style="padding-left:30px;"&gt;&lt;em&gt;&amp;quot;If the modem is shut down gracefully before the next boot (by using&amp;nbsp;&lt;code&gt;&lt;span&gt;AT+CFUN=0&lt;/span&gt;&lt;/code&gt;), it keeps the current setting.&amp;quot;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;But, I will report it internally and ask for a more explicit explanation.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="Exelor AG"]Where in my code do I have to place this funtion call?[/quote]
&lt;p&gt;Call it after a connection has been established. Try putting it right before while(1) loop, and remember to power cycle the device after this call has been made.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you are still having problems after this has been done, please tell me and I will report that as well, and get somebody to consider your issue more carefully.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/215036?ContentTypeID=1</link><pubDate>Tue, 15 Oct 2019 11:11:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d85169d3-761f-4766-9592-a0fd826fa653</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;Really strange behaviour. Today the first try to connect took over 3,5 Minutes. Than the 2. and 3. try only took ca. 3s to connect the LTE. So i do not think its bacauese I am &amp;quot;spaming&amp;quot; the network with connection tries.&lt;/p&gt;
&lt;p&gt;What exacltly do you mean with &amp;quot;AT+CFUN=0&amp;quot;? As I understand, it&amp;#39;s the same as &amp;quot;lte_lc_power_off()&amp;quot;, what causes a power off of the modem? &lt;br /&gt;How should this help with the connection time after starting a debug session? &lt;br /&gt;Where in my code do I have to place this funtion call? I am using the Nordic MQTT TLS demo code:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;
void main(void)
{
  int err;

  if (!IS_ENABLED(CONFIG_AT_HOST_LIBRARY))
  {
    /* Stop the UART RX for power consumption reasons */
    NRF_UARTE0_NS-&amp;gt;TASKS_STOPRX = 1;
    NRF_UARTE1_NS-&amp;gt;TASKS_STOPRX = 1;
  }

  printk(&amp;quot;The MQTT TLS simple sample started\n&amp;quot;);
  
  provision_certificate();
  modem_configure();
  client_init(&amp;amp;client);
  err = mqtt_connect(&amp;amp;client);

  if (err != 0) 
  {
    printk(&amp;quot;ERROR: mqtt_connect %d\n&amp;quot;, err);
    return;
  }

  err = fds_init(&amp;amp;client);
  if (err != 0) 
  {
    printk(&amp;quot;ERROR: fds_init %d\n&amp;quot;, err);
    return;
  }

  while (1) 
  {
...
...
...&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/214371?ContentTypeID=1</link><pubDate>Thu, 10 Oct 2019 12:48:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb7a1e25-65f5-4b28-b690-869071c122b9</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;That should be sufficient.&lt;/p&gt;
&lt;p&gt;However, a reason for this might be that the network detects that the same device tries to connects many times in a row in a given period of time. This may cause the network to block the device for a short period, to avoid it from flooding the base station.&lt;/p&gt;
&lt;p&gt;I will try to get some feedback internally from people that knows more about this, and get it confirmed whether this is the reason,&amp;nbsp;or if there is another reason.&lt;/p&gt;
&lt;p&gt;You could also try to do some testing after calling&amp;nbsp;&lt;span&gt;AT+CFUN=0 followed by a modem reset. As mentioned earlier, this will store the network settings, and the connection time may decrease. Read more about it in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/48316/reset-modem/206142"&gt;this ticket&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/213785?ContentTypeID=1</link><pubDate>Tue, 08 Oct 2019 06:16:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:09327b0d-fd27-460e-8bba-6394dd9051b6</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;The signals strength is between -86dBm and -83dBm on my desk.&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/213693?ContentTypeID=1</link><pubDate>Mon, 07 Oct 2019 13:57:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:02aae97d-2aca-441b-92d4-dcdd2692593f</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;I will check this thread. &lt;br /&gt;I don&amp;#39;t know the signal strength is, but it should always be the same because the dev-kit was on my table on the same position during all these tests.&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;Michael&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/212950?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2019 09:28:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed3e07bc-13bd-471a-aaf6-f86222425c0f</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;What is the&amp;nbsp;signal strength when the connection establishment takes long time (7-9 minutes)? Check out &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/44818/nrf9160-dk-minimum-required-signal-strength"&gt;this thread&lt;/a&gt; for more information about this and how to improve the performance.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/211196?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2019 10:55:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9a45f48f-b1a5-437c-83de-2da7c30adedf</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;I am sorry for the delay, I have been sick lately, which is why I haven&amp;#39;t been able to answer you. I will look into your issue the next couple of days.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/210000?ContentTypeID=1</link><pubDate>Tue, 17 Sep 2019 07:30:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2a620386-8e60-42aa-a071-0453330b12b0</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;I just did some additional testing. I reloaded the mqtt_simple project (this one with TLS from GIT), clean and rebuild the project and downloaded the HEX onto the eval-kit.&lt;br /&gt;My tests are without TLS enabled and without debugger (but it seems to have the same behaviour with the debugger now).&lt;br /&gt;I used the reset button on the eval-kit to restart the application and measured the time between &amp;quot;LTE Link Connecting...&amp;quot; and &amp;quot;LTE Link Connected!&amp;quot;.&lt;/p&gt;
&lt;p&gt;I have the impression, that it is much better than it was; probably because of the new modem firmware 1.0.1.&lt;/p&gt;
&lt;p&gt;Here are the results of 30 resets:&lt;/p&gt;
&lt;p&gt;&amp;lt;5s:&amp;nbsp;&amp;nbsp; 25 times&lt;br /&gt;20s:&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1 time&lt;br /&gt;1min:&amp;nbsp;&amp;nbsp; 1 time&lt;br /&gt;&amp;gt;7min: 2 times&lt;br /&gt;&amp;gt;9min: 1 time&lt;/p&gt;
&lt;p&gt;best regards&lt;br /&gt;ExAg&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/209862?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2019 13:44:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8224a905-1cd3-4856-a3cb-845017222d7e</guid><dc:creator>ExAg</dc:creator><description>&lt;p&gt;Hi Simon&lt;/p&gt;
&lt;p&gt;No, I am not debugging on this low level of libraries (lte_lc.c). I see this behaviour on the line &amp;quot;&lt;strong&gt;modem_configure();&lt;/strong&gt;&amp;quot; in main.c. (mqtt_simple or asset_tracker example does not matter).&lt;br /&gt;If I single step over this line (or set a break point after this line), I see the text &amp;quot;LTE Link Connecting...&amp;quot; in the terminal. From now it takes 1:30 up to 6 minutes, until the text &amp;quot;LTE Link Connected!&amp;quot; appears in the terminal window and I am able to continue with single stepping.&lt;/p&gt;
&lt;p&gt;I am using ncs_tag v1.0.0&lt;/p&gt;
&lt;p&gt;No, I did not change the code. Its the original code provided by Nordic.&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;ExAg&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: LTE Link connecting is blocking?</title><link>https://devzone.nordicsemi.com/thread/209848?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2019 13:11:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5d79b1f1-43d9-465b-9d02-c2e95a0d1277</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;Just to make things clear. You are talking about the time between&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/v1.0.0/drivers/lte_link_control/lte_lc.c#L119"&gt;here&lt;/a&gt;&amp;nbsp;and&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a href="https://github.com/NordicPlayground/fw-nrfconnect-nrf/blob/v1.0.0/drivers/lte_link_control/lte_lc.c#L75"&gt;here&lt;/a&gt;?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am not able to reprocuce&amp;nbsp;your behaviour. What NCS tag are you using? Are you using the mqtt_simple example as it is or have you done any changes?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>