<?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>Modem not trying other PLMN&amp;#39;s if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/114786/modem-not-trying-other-plmn-s-if-nw_mode-is-not-included-in-the-dataplan</link><description>We&amp;#39;re currently using a virtual operator as carrier, so our device is roaming in Finland. It seems that Elisa (24405) is the preferred network, but the data plan is restricted to LTE-M on Elisa network. The SIM does have NB-IoT enabled on DNA network</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 02 Oct 2024 10:59:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/114786/modem-not-trying-other-plmn-s-if-nw_mode-is-not-included-in-the-dataplan" /><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/504665?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 10:59:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:669aab25-5117-40f8-aa67-1dfcb5bb588e</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;Great. I&amp;#39;ll report back when I&amp;#39;ve tested with a fresh device whether I can replicate the original issue.&lt;br /&gt;After that I&amp;#39;ll change the&amp;nbsp;&lt;span&gt;CONFIG_LTE_UNLOCK_PLMN=y in the prj.conf and remove the AT+COPS=0-call.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/504662?ContentTypeID=1</link><pubDate>Wed, 02 Oct 2024 10:56:51 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:223b7a9b-3028-42ec-87ab-04d0e8409ec7</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;&amp;nbsp;Thanks for the info. Good to hear that AT+COPS=0 fixed the issue on your side. The&amp;nbsp;CONFIG_LTE_UNLOCK_PLMN=y is equivalent to AT+COPS=0 in the LTE link controller.&amp;nbsp;&lt;/p&gt;
[quote user="JyriLehtinen"]The application code now calls COPS=0 while starting, so it&amp;#39;s been able to connect consistently.[/quote]
&lt;p&gt;Just an FYI, as long as you do not&amp;nbsp;&lt;span&gt;often use PLMN lock there is no reason to call this on every startup of the application.&amp;nbsp;&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: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/504475?ContentTypeID=1</link><pubDate>Tue, 01 Oct 2024 07:59:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1ce83dc9-f1ab-4579-9f6a-7957621bc519</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;The application code now calls COPS=0 while starting, so it&amp;#39;s been able to connect consistently. In normal operation, I&amp;nbsp;have&amp;nbsp;&lt;span&gt;CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT&lt;/span&gt;&lt;span&gt;=y and LTE-M as preference, but for this test I&amp;#39;ve disabled LTE-M.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LTE_CONNECT_RETRY_DELAY_S=120
CONFIG_LTE_LINK_CONTROL=y
# CONFIG_LTE_LOCK_BANDS is not set
# CONFIG_LTE_LOCK_PLMN is not set
# CONFIG_LTE_UNLOCK_PLMN is not set
CONFIG_LTE_PSM_REQ=y
CONFIG_LTE_PSM_REQ_FORMAT_STRING=y
# CONFIG_LTE_PSM_REQ_FORMAT_SECONDS is not set
CONFIG_LTE_PSM_REQ_RPTAU=&amp;quot;11000001&amp;quot;
CONFIG_LTE_PSM_REQ_RAT=&amp;quot;00000101&amp;quot;
CONFIG_LTE_PSM_REQ_RPTAU_SECONDS=1800
CONFIG_LTE_PSM_REQ_RAT_SECONDS=60
# CONFIG_LTE_PROPRIETARY_PSM_REQ is not set
# CONFIG_LTE_EDRX_REQ is not set
CONFIG_LTE_EDRX_REQ_VALUE_LTE_M=&amp;quot;1001&amp;quot;
CONFIG_LTE_EDRX_REQ_VALUE_NBIOT=&amp;quot;1001&amp;quot;
CONFIG_LTE_PTW_VALUE_LTE_M=&amp;quot;&amp;quot;
CONFIG_LTE_PTW_VALUE_NBIOT=&amp;quot;&amp;quot;
# CONFIG_LTE_NETWORK_MODE_DEFAULT is not set
# CONFIG_LTE_NETWORK_MODE_LTE_M is not set
# CONFIG_LTE_NETWORK_MODE_LTE_M_GPS is not set
CONFIG_LTE_NETWORK_MODE_NBIOT=y
# CONFIG_LTE_NETWORK_MODE_NBIOT_GPS is not set
# CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT is not set
# CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT_GPS is not set
CONFIG_LTE_MODE_PREFERENCE_AUTO=y
CONFIG_LTE_MODE_PREFERENCE_VALUE=0
# CONFIG_LTE_RAI_REQ is not set
CONFIG_LTE_RAI_REQ_VALUE=&amp;quot;0&amp;quot;
# CONFIG_LTE_NETWORK_USE_FALLBACK is not set
CONFIG_LTE_NETWORK_TIMEOUT=300
# CONFIG_LTE_LC_TAU_PRE_WARNING_NOTIFICATIONS is not set
CONFIG_LTE_LC_TAU_PRE_WARNING_TIME_MS=5000
CONFIG_LTE_LC_TAU_PRE_WARNING_THRESHOLD_MS=1200000
CONFIG_LTE_NEIGHBOR_CELLS_MAX=10
# CONFIG_LTE_LC_MODEM_SLEEP_NOTIFICATIONS is not set
CONFIG_LTE_LC_MODEM_SLEEP_PRE_WARNING_TIME_MS=5000
CONFIG_LTE_LC_MODEM_SLEEP_NOTIFICATIONS_THRESHOLD_MS=1200000
# CONFIG_LTE_LC_TRACE is not set
# CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_OFF is not set
# CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_ERR is not set
# CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_WRN is not set
# CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_INF is not set
# CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_DBG is not set
CONFIG_LTE_LINK_CONTROL_LOG_LEVEL_DEFAULT=y
CONFIG_LTE_LINK_CONTROL_LOG_LEVEL=3&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If I re-enable LTE-M and set it as preference, the device will join DNA (24412) over LTE-M. Makes sense, as it was the PLMN it was previously connected to.&lt;/p&gt;
&lt;p&gt;By manually connecting to Elisa (24405), then removing the &amp;quot;AT+COPS=1,2,24405&amp;quot;, reflashing with NB-Iot only, it does manage to connect to DNA over NB-IoT, without explicit AT+COPS=0, just the&amp;nbsp;&lt;span&gt;&amp;nbsp;lte_lc_connect_async()&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;As I&amp;#39;m unable to replicate the&amp;nbsp;original issue with this device, I think it might have been because the device in question had never connected to DNA before, and for some reason didn&amp;#39;t try. I think I need to get a fresh device at some point and try to replicate the issue.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/504423?ContentTypeID=1</link><pubDate>Mon, 30 Sep 2024 18:29:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed7853d6-9f34-48df-9fda-f4cc3e38d03c</guid><dc:creator>&amp;#216;yvind</dc:creator><description>[quote user="JyriLehtinen"]Is there a reason why lte_lc_connect_async() doesn&amp;#39;t behave the same or&amp;nbsp;is something misbehaving?[/quote]
&lt;p&gt;The&lt;span&gt;&amp;nbsp;lte_lc_connect_async()&amp;nbsp;is essentially just sending AT+CFUN=1.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
[quote user="JyriLehtinen"]Calling AT+COPS=0 seemed to do the trick, device now connected to DNA network on NB-IoT[/quote]
&lt;p&gt;After rebooting the device, do you still have a connection?&amp;nbsp;In the .config file found in build/zephyr of you project folder, are you able to see if what CONFIG_LTE* that are set?&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Here is an example from a project I have:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;CONFIG_LTE_LINK_CONTROL=y
# CONFIG_LTE_LOCK_BANDS is not set
# CONFIG_LTE_LOCK_PLMN is not set
# CONFIG_LTE_UNLOCK_PLMN is not set
CONFIG_LTE_PSM_REQ=y
CONFIG_LTE_PSM_REQ_FORMAT_STRING=y
# CONFIG_LTE_PSM_REQ_FORMAT_SECONDS is not set
CONFIG_LTE_PSM_REQ_RPTAU=&amp;quot;11000001&amp;quot;
CONFIG_LTE_PSM_REQ_RAT=&amp;quot;00001010&amp;quot;
CONFIG_LTE_PSM_REQ_RPTAU_SECONDS=1800
CONFIG_LTE_PSM_REQ_RAT_SECONDS=60
# CONFIG_LTE_PROPRIETARY_PSM_REQ is not set
# CONFIG_LTE_EDRX_REQ is not set
CONFIG_LTE_EDRX_REQ_VALUE_LTE_M=&amp;quot;1001&amp;quot;
CONFIG_LTE_EDRX_REQ_VALUE_NBIOT=&amp;quot;1001&amp;quot;
CONFIG_LTE_PTW_VALUE_LTE_M=&amp;quot;&amp;quot;
CONFIG_LTE_PTW_VALUE_NBIOT=&amp;quot;&amp;quot;
# CONFIG_LTE_NETWORK_MODE_DEFAULT is not set
# CONFIG_LTE_NETWORK_MODE_LTE_M is not set
# CONFIG_LTE_NETWORK_MODE_LTE_M_GPS is not set
# CONFIG_LTE_NETWORK_MODE_NBIOT is not set
# CONFIG_LTE_NETWORK_MODE_NBIOT_GPS is not set
# CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT is not set
CONFIG_LTE_NETWORK_MODE_LTE_M_NBIOT_GPS=y
# CONFIG_LTE_MODE_PREFERENCE_AUTO is not set
# CONFIG_LTE_MODE_PREFERENCE_LTE_M is not set
# CONFIG_LTE_MODE_PREFERENCE_NBIOT is not set
CONFIG_LTE_MODE_PREFERENCE_LTE_M_PLMN_PRIO=y
# CONFIG_LTE_MODE_PREFERENCE_NBIOT_PLMN_PRIO is not set
CONFIG_LTE_MODE_PREFERENCE_VALUE=3
# CONFIG_LTE_RAI_REQ is not set
CONFIG_LTE_RAI_REQ_VALUE=&amp;quot;0&amp;quot;
# CONFIG_LTE_NETWORK_USE_FALLBACK is not set
CONFIG_LTE_NETWORK_TIMEOUT=600
# CONFIG_LTE_LC_TAU_PRE_WARNING_NOTIFICATIONS is not set
CONFIG_LTE_LC_TAU_PRE_WARNING_TIME_MS=5000
CONFIG_LTE_LC_TAU_PRE_WARNING_THRESHOLD_MS=1200000
CONFIG_LTE_NEIGHBOR_CELLS_MAX=10
# CONFIG_LTE_LC_MODEM_SLEEP_NOTIFICATIONS is not set
CONFIG_LTE_LC_MODEM_SLEEP_PRE_WARNING_TIME_MS=5000
CONFIG_LTE_LC_MODEM_SLEEP_NOTIFICATIONS_THRESHOLD_MS=1200000
# CONFIG_LTE_LC_TRACE is not set&lt;/pre&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;span&gt;Thanks.&lt;br /&gt;&lt;br /&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/503436?ContentTypeID=1</link><pubDate>Mon, 23 Sep 2024 15:15:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8be6010c-ca7a-4569-83ea-7616608def61</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Thanks for clarifying! Happy to hear that it is working as intended.&lt;/p&gt;
&lt;p&gt;I have forwarded the question and hope to have an answer by tomorrow.&lt;/p&gt;
&lt;p&gt;Kind regards.&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/503291?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 13:51:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baf2dd08-0be2-4854-9e4d-bfdda3bf13ee</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;Calling AT+COPS=0 seemed to do the trick, device now connected to DNA network on NB-IoT. Without the AT command it was offline for days until I terminated the test.&lt;br /&gt;&lt;br /&gt;Is there a reason why lte_lc_connect_async() doesn&amp;#39;t behave the same or&amp;nbsp;is something misbehaving?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/503288?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 13:43:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77951f8c-624a-4a96-b764-af65087d89fb</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;The application does not explicitly call AT+COPS=0, it uses lte_lc_connect_async().&lt;br /&gt;&lt;br /&gt;I can try if adding the AT+COPS=0 works.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/503283?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 13:27:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:56a04eab-3bad-4f68-b8c6-5420c7ac6a2e</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Have you issued AT+COPS=0&lt;/p&gt;
&lt;p&gt;Note:&amp;nbsp;&lt;span&gt;The set command selects a mobile network automatically or manually.&amp;nbsp;&lt;/span&gt;&lt;span&gt;The command configuration is stored to&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;a title="Memory that can retrieve stored information even after having been power-cycled." href="https://docs.nordicsemi.com/bundle/ref_at_commands/page/dita_common/glossary/glossary.html#nvm"&gt;&lt;dfn&gt;NVM&lt;/dfn&gt;&lt;/a&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;approximately every 48 hours and when the modem is set to minimum functionality mode with the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;+CFUN=0&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;command.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/503279?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 13:20:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebaa56e9-ed48-4e8a-8d80-b044a50d78fb</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;But in my case, it does not automatically try to attach to other networks, even though it should&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/503277?ContentTypeID=1</link><pubDate>Fri, 20 Sep 2024 13:18:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:61d55569-ad21-45b8-a4b8-89380af5cea5</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;&lt;span&gt;Reject cause is #15 “No suitable cells in tracking area” is sent by network when the subscription does not allow operation in the tracking area of this network. In automatic network selection mode (AT+COPS=0) modem can try to Attach also to other networks in the area. In manual network selection mode modem just tries to find another, allowed tracking area within the same, manually selected network.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/502923?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2024 11:31:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5b8e3f35-e529-4766-aa5f-297e02fbf247</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;Right, makes sense. However, the modem does not connect to other allowed PLMN&amp;#39;s in this case, but remains disconnected until LTE-M is enabled or PLMN is selected manually with AT+COPS.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/502916?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2024 10:54:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f2576e96-288d-4b6d-bbf7-3dc545f0679b</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;From the modem trace it is clear that your device is rejected from the NB-IoT network&lt;/p&gt;
&lt;p&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ref_at_commands/page/REF/at_commands/nw_service/cereg_read.html"&gt;CEREG: 2,&amp;quot;BFE1&amp;quot;,&amp;quot;00120A67&amp;quot;,9,0,15&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Cause #15 – No suitable cells in tracking area&lt;br /&gt;This EMM cause is sent to the UE if it requests service, or if the network initiates a detach request, in a tracking&lt;br /&gt;area where the UE, by subscription, is not allowed to operate, but when it should find another allowed tracking&lt;br /&gt;area or location area in the same PLMN or an equivalent PLMN.&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/502888?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2024 08:19:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb6baf57-2596-4b69-bcd2-122e72d5244a</guid><dc:creator>JyriLehtinen</dc:creator><description>&lt;p&gt;The operator is 1oT&lt;/p&gt;
&lt;p&gt;Plan is &lt;strong&gt;1oT Global eUICC&lt;/strong&gt;, &amp;quot;optimal coverage&amp;quot;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Modem not trying other PLMN's if nw_mode is not included in the dataplan?</title><link>https://devzone.nordicsemi.com/thread/502881?ContentTypeID=1</link><pubDate>Wed, 18 Sep 2024 07:56:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ce19da5-10fa-402e-a2e5-919f714941cc</guid><dc:creator>&amp;#216;yvind</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Thank you for providing modem traces and information on modem fw version. I will have a look at the trace. What SIM card are you using?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>