<?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 : LTE connection issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/92504/nrf9160-lte-connection-issue</link><description>modem fw.: 1.3.2 
 sdk: 1.6.0 
 SIM: ibasis 
 We recently switched to iBasis sims (previously using Bell) and i have been seeing some behavior on LTE connection attempt that I am trying to figure out. 
 LTE connection timeout is set to 120 seconds. 
</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 04 Oct 2022 12:28:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/92504/nrf9160-lte-connection-issue" /><item><title>RE: nrf9160 : LTE connection issue</title><link>https://devzone.nordicsemi.com/thread/389202?ContentTypeID=1</link><pubDate>Tue, 04 Oct 2022 12:28:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00eb6ec9-6776-4817-ade4-7d310de818b6</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
[quote user=""]1. What does RRC mode: connected mean ? Very often (even with Bell and Rogers) I see RRC mode: connected but then the connection attempt times out and lte_lc_init_and_connect returns -116 after 120 seconds.[/quote]
&lt;p&gt;You can read about RRC states &lt;a href="https://www.3gpp.org/ftp/tsg_ran/WG2_RL2/TSGR2_06/Docs/Pdfs/r2-99807.pdf"&gt;here&lt;/a&gt;. I&amp;#39;m not sure why the connection times out, but you can try to use the at client + link monitor to get more information, and also maybe a modem trace would be helpful.&lt;/p&gt;
[quote user=""]2. On many occassions i see LTE cell changed: Cell ID message even in RRC Idle mode. What causes this behavior? Is the modem trying to look for a better signal or connection? our device when idle will not send messages for a few hours but in between it will change cell towers many times while on PSM. How can I manage or disable this to not drain the battery prematurely?[/quote]
&lt;p&gt;I don&amp;#39;t think this is possible using LTE-M. For NB-IoT automatic handover is not possible, but it should not work with iBasis SIM, so you will need to use a different SIM in that case.&lt;/p&gt;
[quote user=""]3. What can I do to make the connection attempt faster, stable and reliable? Right now on a 10 minute connection cycle test (where I disconnect and reconnect every 10 minutes) sometimes I can connect within 5 seconds, at other time it will take 30-60 seconds, while occassionly it fails to connect. All of this while the device is on a desk and LTE signal stregnth is excellent in the office.[/quote]
&lt;p&gt;The best way is probably with &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/xbandlock_set.html"&gt;xbandlock&lt;/a&gt;. Also, the &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/xcountrydata_set.html"&gt;%xcountrydata cmd&lt;/a&gt; can be considered to decrease the time.&lt;/p&gt;
[quote user=""]4. Do newer SDKs (2.1) and the modem lib that comes with it improves the LTE connection? Will switching to newer SDK provide me any improvement on this aspect?[/quote]
&lt;p&gt;Probably not. You would most likely need to upgrade the modem firmware to see any significant improvements to the LTE performance.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>