<?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 connectivity &amp;amp; configuration help</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/74561/nrf9160-connectivity-configuration-help</link><description>Hello, 
 We are working to improve our connectivity globally, and have some questions about how we might improve our firmware. 
 We are using the nRF9160 to connect via LTE-M (CAT-M1) using a SIM that allows us to roam across multiple networks. This SIM</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 May 2023 19:11:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/74561/nrf9160-connectivity-configuration-help" /><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/427329?ContentTypeID=1</link><pubDate>Wed, 24 May 2023 19:11:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e30c568c-5a76-4a5b-997a-4dd914db1bf7</guid><dc:creator>Momchil_MRP01</dc:creator><description>&lt;p&gt;I think we just reached resolution to this issue stated by JonathanF by having our SIM provided changing the IMSI rules affecting profile rotation and connection registartion using specific IMSI to a tower.&lt;/p&gt;
&lt;p&gt;The suggestion by Heii-Irene was in fact the issue&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;You&amp;#39;re using a SIM card that&amp;nbsp;has several profiles and is able to switch between those. What could be happening is that some of the location status events are not being forwarded from the modem to the SIM card and thus the SIM card is not able to perform a SIM refresh to change its profile and allow LTE registration.&amp;nbsp;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;&lt;em&gt;&lt;/em&gt;&lt;/p&gt;
&lt;p&gt;The SIM provide had rules setup for specific IMSI that caused Service Rejection (from Cell tower provider) rather than Home Rejection (from the SIM card provider). Service Rejection was then not translated to SIM card rotation and at that physcal location the device was only in search and connect to tower state but never registered to the provider or changed IMSIs.&lt;br /&gt;&lt;br /&gt;&lt;span&gt;Example message: +CEREG: 4,&amp;quot;FFFE&amp;quot;,&amp;quot;FFFFFFFF&amp;quot;,7,&lt;strong&gt;0,15&lt;/strong&gt;,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;Cause #15 &amp;ndash; No suitable cells in tracking area&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; This EMM cause is sent to the UE if it requests service, or if the network initiates a detach request, in a tracking area where the UE, by subscription, is not allowed to operate, but when it should find another allowed tracking area or location area in the same PLMN or an equivalent PLMN.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/321744?ContentTypeID=1</link><pubDate>Mon, 26 Jul 2021 09:17:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:64fb5c8e-c795-4ecc-a826-c7aa436a19ff</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;The communication for this ticket has been moved to email but I am adding a summary here for future reference.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The consensus is that the UE is having issues with poor signal levels. They have looked for other causes of disconnection but determined the low signal level as the strongest indicator.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/319231?ContentTypeID=1</link><pubDate>Thu, 08 Jul 2021 15:14:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3caed050-b9c1-4eb9-8689-f0eb06b4a88c</guid><dc:creator>JonathanF</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;My apologies for taking so long to circle back on this. We&amp;#39;ve still been seeing some similar issues w/r/t transitioning from CFUN=4 to CFUN=1. I&amp;#39;ve created a simple firmware image that does repeated cycles to CFUN=4/CFUN=1 and measures the reconnection time, along with traces.&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached a ZIP file with the relevant files.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;src/main.c and prj.conf are built against v1.6.0 nrf SDK running w/1.3.0 modem firmware.&lt;/li&gt;
&lt;li&gt;2021-07-08--083113---putty.log shows the UART output&lt;/li&gt;
&lt;li&gt;trace-2021-07-08T13-18-51.639Z.bin contains the modem trace&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;An example of the timeout is in the logs &amp;quot;Network&amp;nbsp;connection&amp;nbsp;attempt&amp;nbsp;timed&amp;nbsp;out&amp;quot;. What&amp;#39;s odd is that the reconnections *mostly* happen quite quickly (within 5 seconds). But sometimes they do time out, despite the network conditions seemingly not changing.&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/network_2D00_timeout.zip"&gt;devzone.nordicsemi.com/.../network_2D00_timeout.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/313433?ContentTypeID=1</link><pubDate>Thu, 03 Jun 2021 13:10:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ca29ed89-59bf-47d7-9e41-416d7f0fb21c</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We recommend all customers transition to nRF9160 SiP Rev 2, as MFW 1.3.0 and nRF9160 SiP Rev 1 will not be a widely certified combination.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I can make this case private and we can discuss your specific use case (i.e number of chips, reason you can&amp;#39;t transition to Rev2) if you would like.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;With regard to Verizon certification, contact your RSM, David Day (david.day@nordicsemi.no), for&amp;nbsp;information on this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/313155?ContentTypeID=1</link><pubDate>Wed, 02 Jun 2021 14:06:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e674cb56-939c-4ad5-b571-bcbe0b4f4be6</guid><dc:creator>JonathanF</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;Thank you for the response. Given this response, we will prioritize adoption of 1.3.0. Can you give any guidance on using 1.3.0 for Revision 1 hardware (nRF9160 SICA B0A)? The release notes currently specify that 1.3.0 should only be used for development and testing; what sort of limitations are there with Revision 1 hardware?&lt;/p&gt;
&lt;p&gt;Similarly, do you expect Verizon certification to happen for 1.3.0? And, if so, what is the timeline on that?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/312646?ContentTypeID=1</link><pubDate>Mon, 31 May 2021 13:05:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6c4ccd8-aa11-46e1-90b3-e4ff368975fe</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The scenarios described can happen when the device is coming out of airplane mode.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Furthermore, the modem team let me know that unless this issue is present on MFW 1.3.0 where there are fixes to multi-SIM operation, they will not work on this case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/311918?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 23:48:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1c5566e9-6a53-464b-9142-7f1f2f1e38b9</guid><dc:creator>JonathanF</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;Thank you for the reply. How would either of the scenarios that you outlined work when the device is coming out of airplane mode (CFUN=4)?&lt;/p&gt;
&lt;p&gt;Here is the initialization sequence we&amp;#39;re using:&lt;/p&gt;
&lt;pre&gt;&lt;span&gt;AT+CPSMS=1,,,&amp;quot;01100000&amp;quot;,&amp;quot;00000000&amp;quot;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;AT+CGDCONT=0,&amp;quot;IP&amp;quot;,&amp;quot;eseye1&amp;quot;&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;AT+CEREG=5&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;AT%CESQ=1&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;AT+CSCON=3&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;AT+CNEC=24&lt;/span&gt;&lt;span&gt;&lt;br /&gt;&lt;/span&gt;&lt;span&gt;AT%XSIM=1&lt;br /&gt;AT+CFUN=1&lt;/span&gt;&lt;/pre&gt;
&lt;p&gt;As you can see, we have the CEREG and CSCON messages enabled. Presumably we do not need to re-set these every time after coming out of Airplane mode.&lt;/p&gt;
&lt;p&gt;I was able to reproduce the issue on the devkit earlier today, but not with a trace running. I will attempt to do this overnight tonight.&lt;/p&gt;
&lt;p&gt;I understand that v1.3.0 is improved, and we do intend to move to that when possible. As it stands now, we do not currently have support for updating modem firmware OTA; that work is ongoing. We also&amp;nbsp;need to make sure that all of the devices we&amp;#39;ve currently manufactured are supported by v1.3.0.&lt;/p&gt;
&lt;p&gt;Thank you,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/311815?ContentTypeID=1</link><pubDate>Wed, 26 May 2021 13:02:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:465d93f8-b2d6-4369-aeb8-af62e1347814</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So there are few scenarios where this &amp;#39;not searching&amp;#39; can happen.&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;SIM init fails.&lt;/li&gt;
&lt;li&gt;There is a fatal/permanent reject for LTE registration, e.g. #8 (EPS services and non-EPS services not allowed), or #3 (Illegal UE), etc.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The above cases can happen occasionally, e.g. if the card can move in the reader, or due to some network issue. But these occasions should be quite rare.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;You&amp;#39;re using a SIM card that&amp;nbsp;has several profiles and is able to switch between those. What could be happening is that some of the location status events are not being forwarded from the modem to the SIM card and thus the SIM card is not able to perform a SIM refresh to change its profile and allow LTE registration.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you&amp;#39;re able to take a modem trace when the case you described happens we would be able to see this.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Did you activate the unsolicited CEREG notifications before CFUN=1 was sent?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Side note, there are many improvements in multi-profile SIM card functionality and AT+CEREG notifications in&amp;nbsp;MFW v1.3.0, so I strongly advise you to update to the newest MFW release. If at all possible, a modem trace from the old and the new modem FW&amp;nbsp;would be very interesting to see.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/311065?ContentTypeID=1</link><pubDate>Fri, 21 May 2021 12:59:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:055f3e15-ea58-4dd4-bb7e-8fd821742e44</guid><dc:creator>JonathanF</dc:creator><description>&lt;p&gt;Hi Heidi,&lt;/p&gt;
&lt;p&gt;Thank you for the responses! We are currently using modem firmware 1.2.0, and we run with this flow:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Modem is connected to the network.&lt;/li&gt;
&lt;li&gt;We put the modem into flight mode: CFUN=4.&lt;/li&gt;
&lt;li&gt;&amp;lt;Wait 60-120 seconds&amp;gt;&lt;/li&gt;
&lt;li&gt;We put the modem back into search mode: CFUN=1.&lt;/li&gt;
&lt;li&gt;We query CFUN, CEREG and CSCON every 10 seconds&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;More often than not, the modem will connect to the network once we put it back into Normal functional mode. But sometimes this doesn&amp;#39;t happen; the device remains in Normal mode, but never connects to the network, and seemingly never tries.&lt;/p&gt;
&lt;div&gt;
&lt;div&gt;&lt;span&gt;In the case being discussed (CFUN=1, but no connection is ever made), the responses are like this (I&amp;#39;ve had it run for over a day, and the response is always the same):&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CFUN&amp;nbsp;response:&amp;nbsp;+CFUN:&amp;nbsp;&lt;/span&gt;&lt;span&gt;1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CEREG&amp;nbsp;response:&amp;nbsp;+CEREG:&amp;nbsp;&lt;/span&gt;&lt;span&gt;5&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;&amp;quot;040A&amp;quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;&amp;quot;00FE4611&amp;quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;7&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;&amp;quot;11100000&amp;quot;&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;&amp;quot;11100000&amp;quot;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;&lt;span&gt;CSCON&amp;nbsp;response:&amp;nbsp;+CSCON:&amp;nbsp;&lt;/span&gt;&lt;span&gt;3&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;0&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;7&lt;/span&gt;&lt;span&gt;,&lt;/span&gt;&lt;span&gt;4&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;p&gt;What I notice is that the CEREG query returns status 0 (not searching) after issuing the CFUN=1 command. As such, there are no notifications ever issued, and no connection will ever be made. This doesn&amp;#39;t happen every time, but once it does happen, we never get out of this mode.&lt;/p&gt;
&lt;p&gt;Do you have any guidance on how to handle this?&lt;/p&gt;
&lt;p&gt;Thank you,&lt;/p&gt;
&lt;p&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/308529?ContentTypeID=1</link><pubDate>Thu, 06 May 2021 11:24:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6af7d35-cb82-4e07-b0e3-221d7dddd748</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;1. Yes, this means the modem has completed the network search, but no available networks were found.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;2. There is no way to erase the configurations store in NVM in the current modem FW releases. In the next MFW release there will be a setting to do this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;4.&amp;nbsp;Searching is started immediately, but the modem will send +CEREG information after it has found a suitable cell for service and registration to the network has been performed, or it has searched whatever it is going to search without success. The time varies based on the current radio environment.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF9160 connectivity &amp; configuration help</title><link>https://devzone.nordicsemi.com/thread/307965?ContentTypeID=1</link><pubDate>Mon, 03 May 2021 13:46:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1035b0c3-0351-420f-9cf7-84a5c1fdfb8e</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;1. I have forwarded this question and I&amp;#39;ll let you know when I hear back.&lt;/p&gt;
&lt;p&gt;2. Yes, I believe it&amp;#39;s possible to erase the configurations stored in NVM. I will check how to do this.&lt;/p&gt;
&lt;p&gt;3. You should only use AT+CFUN=0 when you want the current modem configurations to be stored. If that isn&amp;#39;t necessary, then use AT+CFUN=4 instead. The flash also has a limited amount of reads and writes, so we recommend AT+CFUN=0 only when necessary.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]Our approach has been to transition to airplane mode when we wish to save power, but when an unpredictable reset happens (via a user event), we want to be able to reasonably quickly connect to the network again.[/quote]
&lt;p&gt;&amp;nbsp;It sounds like you are doing it correctly.&lt;/p&gt;
&lt;p&gt;4. I&amp;#39;m not sure if 60 seconds is a normal time to wait for signal notifications. I&amp;#39;ll consult with the modem team and get back to you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>