<?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>NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114432/nb-iot-not-connecting-on-nrf9161-dk</link><description>Hi, 
 I have been having quite a lot of issues around connectivity and my device, all of which at this point has stemmed from MNO blocking activity from MVNO&amp;#39;s ( here and here ). 
 I have LTE-M working when in an areas which supports it, however, i cant</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 30 Sep 2024 20:14:05 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114432/nb-iot-not-connecting-on-nrf9161-dk" /><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/504436?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 20:14:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:24263505-0790-4cf8-86b4-a5d350455a7d</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="HoovinSchoovin"]&lt;div&gt;I imagine i&amp;#39;m doing something wrong, but all tutorials are quite old. Are there any up to date docs or do you have any idea what might be the issue?&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Thanks in advance.&amp;nbsp;&lt;/div&gt;[/quote]
&lt;p&gt;What tutorials are you referring to?&amp;nbsp;&lt;/p&gt;
[quote user="HoovinSchoovin"]I get these issues[/quote]
&lt;p&gt;From my initial look these are related to an issue with your UICC/SIM card. Are you able to provide full application logs instead. Please &amp;quot;refresh dashboard&amp;quot; in Cellular Monitor.&lt;/p&gt;
&lt;p&gt;As this is a DK, there should not be an issue with &lt;a href="https://docs.nordicsemi.com/bundle/nrf-connect-cellularmonitor/page/capturing.html"&gt;collecting modem traces with this guide&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/504027?ContentTypeID=1</link><pubDate>Thu, 26 Sep 2024 15:19:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e937a5b-b0f1-4e7d-9bfd-f2198f39ae6f</guid><dc:creator>HoovinSchoovin</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;Oslash;yvind,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Thanks for getting back to me.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve tried to get another trace, but no matter how much i try (changing the ports for trace serial and terminal etc) a red cross comes up next to trace on the connection status.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;I get these issues&lt;/p&gt;
&lt;div class="core19-log-entry core19-log-level-error"&gt;
&lt;div class="core19-log-cell core19-log-time"&gt;16:16:55.793&lt;/div&gt;
&lt;div class="core19-log-cell"&gt;AT command AT+CPIN? failed: +CME ERROR&lt;/div&gt;
&lt;/div&gt;
&lt;div class="core19-log-entry core19-log-level-error"&gt;
&lt;div class="core19-log-cell core19-log-time"&gt;16:16:55.798&lt;/div&gt;
&lt;div class="core19-log-cell"&gt;AT command AT+CIMI failed: : 13 +CME ERROR&lt;/div&gt;
&lt;/div&gt;
&lt;div class="core19-log-entry core19-log-level-error"&gt;
&lt;div class="core19-log-cell core19-log-time"&gt;16:16:55.958&lt;/div&gt;
&lt;div class="core19-log-cell"&gt;AT command AT%XICCID failed: +CME ERROR:&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I imagine i&amp;#39;m doing something wrong, but all tutorials are quite old. Are there any up to date docs or do you have any idea what might be the issue?&lt;/div&gt;
&lt;div class="core19-log-cell"&gt;&lt;/div&gt;
&lt;div class="core19-log-cell"&gt;Thanks in advance.&amp;nbsp;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/503258?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 12:12:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fa616d74-e222-4b0a-81d4-c8846441f8a5</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Looking at the modem trace provided, &lt;a href="https://docs.nordicsemi.com/bundle/nwp_042/page/WP/nwp_042/blocking.html"&gt;your device enters a reset loop&lt;/a&gt;. You must ensure that you do not reset your device too many times without properly disconnecting your device from the network.&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The activation of the reset loop restriction starts the timer with a 30 minute period. During this time, the modem blocks all Attach attempts. After the timer has expired, the modem starts normal behavior and automatically regains LTE service for possible connections the same way as when the modem is activated without the reset loop restriction.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/503231?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 09:30:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:35a0930f-df95-4378-9225-59e0fa2b4461</guid><dc:creator>HoovinSchoovin</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;The issue is still persistent&amp;nbsp;across many locations, including Germany.&amp;nbsp;&lt;br /&gt;Essentially, i can join the network if i force connection using AT+COPS=0 while in AT client.&amp;nbsp;&lt;br /&gt;The modem wont&amp;nbsp;automatically connect on my aws iot application. It is stuck at&amp;nbsp;+CEREG: 2,&amp;quot;C938&amp;quot;,&amp;quot;01870701&amp;quot;,7.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/502597?ContentTypeID=1</link><pubDate>Mon, 16 Sep 2024 11:49:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9de6a89f-5d41-4781-9de6-1c960c43ff75</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello Sam, Dejan is currently out of office and I have been asked to follow up with your ticket.&lt;br /&gt;&lt;br /&gt;Will have a look at the information is this ticket and get back to you within tomorrow.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/502146?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2024 13:18:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9de776df-60b8-40ca-8571-882dcdc2a496</guid><dc:creator>HoovinSchoovin</dc:creator><description>&lt;p&gt;Hi Dejan,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Added below:&lt;br /&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2024_2D00_09_2D00_10T19_2D00_52_2D00_59.542Z.mtrace"&gt;devzone.nordicsemi.com/.../trace_2D00_2024_2D00_09_2D00_10T19_2D00_52_2D00_59.542Z.mtrace&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/501410?ContentTypeID=1</link><pubDate>Thu, 05 Sep 2024 15:30:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0a26ce17-ef8f-470b-8562-acf34c75785f</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi Sam,&lt;/p&gt;
[quote user="HoovinSchoovin"]When trying the AWS IOT core, with no changes except for adding in my broker and clientIDs (+certs), I am unable to access the network still. I am guessing this is because the code is not using the AT+COPS=0 command. Any idea how I should proceed. Should I hardcode a COPS=0 in the&amp;nbsp;AWS library somewhere?[/quote]
&lt;p&gt;Do you have a log which you could share?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/501208?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 15:05:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:538645a1-d4bb-434c-90ba-76bee798cf09</guid><dc:creator>HoovinSchoovin</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Dejan,&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks for those tips.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;After setting AT+COPS=0, I managed to register to the network &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;pre class="ui-code" data-mode="text"&gt;+CEREG: 5,5,&amp;quot;9D6C&amp;quot;,&amp;quot;000FA3B6&amp;quot;,9,,,&amp;quot;11100000&amp;quot;,&amp;quot;11100000&amp;quot;&lt;/pre&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;One of the reasons why i had not explored doing that more was this article: &lt;a href="https://onomondo.com/blog/at-command-attach-detach-modems-tips/"&gt;here&lt;/a&gt;.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;When trying the AWS IOT core, with no changes except for adding in my broker and clientIDs (+certs), I am unable to access the network still. I am guessing this is because the code is not using the AT+COPS=0 command. Any idea how I should proceed. Should I hardcode a COPS=0 in the&amp;nbsp;AWS library somewhere?&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Thanks again for your continued help.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Kind regards,&amp;nbsp;&lt;br /&gt;Sam&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/501122?ContentTypeID=1</link><pubDate>Wed, 04 Sep 2024 09:52:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:31f91748-a282-4ac6-997c-82872999cc8e</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You can look at AT+CEREG set command (&lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands_nrf91x1/page/REF/at_commands/intro_nrf91x1.html"&gt;nRF91x1 Cellular AT Commands&lt;/a&gt;) and try to set it to value 4 or 5. This should provide more information about the reject cause in your case.&lt;br /&gt;You could also try to set automatic network selection mode (code 0) in the +COPS command.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/501024?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 16:13:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6e48d756-89e5-4d63-afb7-c43d3514cc55</guid><dc:creator>HoovinSchoovin</dc:creator><description>&lt;p&gt;Hi Dejan,&lt;/p&gt;
&lt;p&gt;Thanks for getting back to me. After trying to set the COPS, I got this. I also tried AWS sample and could not get access to internet too.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;&amp;gt; AT+COPS=1,2,&amp;quot;21901&amp;quot;,9

OK
&amp;gt; AT+CFUN=0

OK
&amp;gt; AT+CEREG?

+CEREG: 0,4

OK

&amp;gt; AT+CFUN=1

OK
&amp;gt; AT+CEREG?

+CEREG: 0,4

OK
&amp;gt; AT+CEREG?

+CEREG: 0,2,&amp;quot;0CEE&amp;quot;,&amp;quot;0868235C&amp;quot;,9

OK

** AFTER over 10m waiting**

&amp;gt; AT+CEREG?

+CEREG: 0,2,&amp;quot;0CEE&amp;quot;,&amp;quot;0868235C&amp;quot;,9

OK&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;ve attached the cell monitor screenshot below:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/Screenshot-2024_2D00_09_2D00_03-at-6.11.31_2F20_pm.png" /&gt;&lt;br /&gt;&lt;br /&gt;Also, here is the wireshark PDF - note the &amp;quot;&lt;span&gt;DLInformationTransfer-NB, Attach reject (PLMN not allowed)&lt;/span&gt;&amp;quot;. Could this be the error? :&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/wireshark_5F00_sharkfin_2D00_gcjnvzvmst8T4NT2.pcapng.pdf"&gt;devzone.nordicsemi.com/.../wireshark_5F00_sharkfin_2D00_gcjnvzvmst8T4NT2.pcapng.pdf&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Any other ideas, please let me know - very much appreciate the help&amp;nbsp;&lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f642.svg" title="Slight smile"&gt;&amp;#x1f642;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NB-IOT not connecting on nrf9161 DK</title><link>https://devzone.nordicsemi.com/thread/500992?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2024 13:32:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:961f4741-17e2-4534-9fdd-93fb96ae2f29</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You could look at&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands/page/REF/at_commands/nw_service/cops_set.html"&gt;COPS set&lt;/a&gt;&amp;nbsp;command. Based on the nRF9160 AT Commands Guide v2.4, COPS set command has 4 parameters which you can choose. For example, you could use it like this for NB-IoT&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT+COPS=1,2,&amp;quot;21901&amp;quot;,9&lt;/pre&gt;&lt;br /&gt;According to documentation, t&lt;span&gt;he command configuration is stored in NVM&amp;nbsp;&lt;/span&gt;&lt;span&gt;approximately every 48 hours and when the modem is set to minimum functionality mode with the&amp;nbsp;&lt;/span&gt;&lt;code&gt;+CFUN=0&lt;/code&gt;&lt;span&gt;&amp;nbsp;command.&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>