<?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>Roaming SIM card from Soracom sluggish on NB-IoT</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/107545/roaming-sim-card-from-soracom-sluggish-on-nb-iot</link><description>Hi, 
 If I use a roaming Soracom SIM card in NB-IoT mode and with asset_tracker_v2 application, without doing anything fancy, it will take a very long time, over 4 minutes, to connect to an LTE network. But I found Soracom&amp;#39;s web page https://www.soracom</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Feb 2024 20:54:04 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/107545/roaming-sim-card-from-soracom-sluggish-on-nb-iot" /><item><title>RE: Roaming SIM card from Soracom sluggish on NB-IoT</title><link>https://devzone.nordicsemi.com/thread/468908?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 20:54:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:89fe06f0-90e1-42bf-966b-079f1ff0fdef</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;Having thought about it, I see how AT+CFUN=0 can be used to lock in a PLMN without having to create a special build with the extra config options. That may be useful. I will close the ticket.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Roaming SIM card from Soracom sluggish on NB-IoT</title><link>https://devzone.nordicsemi.com/thread/468729?ContentTypeID=1</link><pubDate>Wed, 14 Feb 2024 03:22:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:57a23004-52ec-400b-adbb-8bba3bd99059</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;After all these weeks, I now see that I had misread the suggestion 3 from Soracom. I read only the first few words carefully, about caching network information to the SIM. I completely missed the fact that they were telling me to find a device faster than the nRF9160! That really does seem impractical, and I would not have asked about it if I had read the suggestion more carefully.&lt;/p&gt;
&lt;p&gt;Jonathan, you pointed me to the asset_tracker architecture, but you did not point me to any documentation regarding the use of AT+CFUN=0 for speed up. Although the AT Commands Reference explains what gets stored in NVRAM, it does not give me a feel for what amount of speed up time to connection might be. That&amp;#39;s what I am looking for, if you can dig up anything from the knowledge inside your company. Thanks.&lt;/p&gt;
&lt;p&gt;Burt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Roaming SIM card from Soracom sluggish on NB-IoT</title><link>https://devzone.nordicsemi.com/thread/468688?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 15:51:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:713a5ee5-7b6a-45c5-bdd5-87214c67b7ac</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;Thanks, Jonathan. I see that Soracom has a help center, their DevZone you might say, so I will contact them next to get their take on pre-caching network information in the SIM. I&amp;#39;m not certain that the asset tracker documentation will move me forward on this ticket&amp;#39;s question but reading the Modem module section has given me an idea for investigating a different problem the boss has mentioned: on rare occasions, our (modified) asset tracker has been known to disconnect but not reconnect. Thanks for the link to the tracing instructions, too.&lt;/p&gt;
&lt;p&gt;Burt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Roaming SIM card from Soracom sluggish on NB-IoT</title><link>https://devzone.nordicsemi.com/thread/468627?ContentTypeID=1</link><pubDate>Tue, 13 Feb 2024 13:26:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:196c1609-7a8e-44b1-aa39-944956e6e01c</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Sorry for the delay Burt,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Using CFUN=0 once should be enough when the device is stationary but sometimes the bastion it connects to change for whatever reason so running the CFUN=0 every once in a while can be smarts, but not often.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="Burt"] I am looking to have a clearer high level picture overall. Maybe pseudo code would help me.[/quote]
&lt;p&gt;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/doc/asset_tracker_v2_description.html"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/doc/asset_tracker_v2_description.html&lt;/a&gt;&amp;nbsp;this documentation is comprehensive and does provide all the parts of the application.&amp;nbsp;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;And here you can see a flowchart of the prosess:&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/doc/app_behavior.html#real-time-configurations"&gt;https://developer.nordicsemi.com/nRF_Connect_SDK/doc/latest/nrf/applications/asset_tracker_v2/doc/app_behavior.html#real-time-configurations&lt;/a&gt;&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
[quote user="Burt"]If I were to send you logs, what should I configure for that in prj.conf to be useful?[/quote]
&lt;p&gt;You can follow the info her&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/enable_tracing.html?cp=11_3_5_3_1"&gt;https://infocenter.nordicsemi.com/topic/ug_trace_collector/UG/trace_collector/enable_tracing.html?cp=11_3_5_3_1&lt;/a&gt;&amp;nbsp;, A modem trace will provide us with the most details about what is happening.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Roaming SIM card from Soracom sluggish on NB-IoT</title><link>https://devzone.nordicsemi.com/thread/465887?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 23:47:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9dc0e354-3eff-44fc-a4e8-898b75b90cc0</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;You have mentioned CFUN=0 especially in the case that the tracker unit is moving all around. Actually, our trackers are fixed position, but nevertheless I would like to understand how one would use CFUN=0 in the non fixed position case. Am I correct that you are describing something that is not built into the asset_tracker_v2 code? I am looking to have a clearer high level picture overall. Maybe pseudo code would help me.&lt;/p&gt;
&lt;p&gt;I understand that there are some commands like %XBANDLOCK, %XSYSTEMMODE, %XPTW, %XCOUNTRYDATA, +COPS, and %CSUS to which their configuration will be stored in NVM after +CFUN=0. But consider for example what I wrote earlier&lt;/p&gt;
&lt;p&gt;CONFIG_LTE_LOCK_PLMN=y&lt;br /&gt;CONFIG_LTE_LOCK_PLMN_STRING=&amp;quot;310260&amp;quot;&lt;/p&gt;
&lt;p&gt;I think this bit of configuration causes +COPS to execute every time I power up the device. If instead, I made certain to store the configuration just once in NVM and on future power ups relied on the NVM settings, this would not speed up my connect time to LTE noticeably, would it?&lt;/p&gt;
&lt;p&gt;If I were to send you logs, what should I configure for that in prj.conf to be useful?&lt;/p&gt;
&lt;p&gt;That&amp;#39;s all I can think of. Thanks.&lt;/p&gt;
&lt;p&gt;Burt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Roaming SIM card from Soracom sluggish on NB-IoT</title><link>https://devzone.nordicsemi.com/thread/465735?ContentTypeID=1</link><pubDate>Wed, 24 Jan 2024 09:30:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d95c430a-2866-4850-8a0c-f762a0045a00</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi Burt,&lt;br /&gt;&lt;br /&gt;Don&amp;#39;t have anything else to contribute with not extra logs or such to look at. My guess is that CFUN=0 is you best friend here. But if there is any issues or related questions feel free to ask and i will do my best to help.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Roaming SIM card from Soracom sluggish on NB-IoT</title><link>https://devzone.nordicsemi.com/thread/465403?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 15:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c2928a2a-1744-4e53-b56b-d04b0b9959c3</guid><dc:creator>Burt</dc:creator><description>&lt;p&gt;Hi Jonathan,&lt;/p&gt;
&lt;p&gt;Thank you for the useful information regarding CFUN and %XCOUNTRYDATA.&lt;/p&gt;
&lt;p&gt;Regarding your questions, I have not been in contact with Soracom. I don&amp;#39;t have any interesting logs, but I can say that the connection time is repeatable multiple times with the same SIM card. So, I guess there is no special SIM caching to automatically speed things up (as the connection time is repeatable and doesn&amp;#39;t decrease), and no obvious way to change that from the asset tracker v2 application. I am going to assume that the techniques available to me are what you have presented here, unless you come up with anything else. Thanks again.&lt;/p&gt;
&lt;p&gt;Burt&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Roaming SIM card from Soracom sluggish on NB-IoT</title><link>https://devzone.nordicsemi.com/thread/465335?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 13:27:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04adce31-c17a-408d-8541-68c1eca61eb2</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Also,&lt;br /&gt;&lt;br /&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/cfun_set.html?cp=2_2_0_4_0_0"&gt;CFUN=0&lt;/a&gt; should be a better option for some use cases. So if the tracker unit is moving all around then this will help improve time to connection in many cases. Be sure to not over use the command as it will wear out&amp;nbsp;NVM.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;If the tacker is only in one location, or is within a area there only the same network is used then locking like you have tested can be the better option. But if the device leaves the area it will not be able to find a new band to connect to as it is locked.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Then there is the &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/xcountrydata.html?cp=2_2_0_4_34"&gt;%XCOUNTRYDATA&lt;/a&gt;&amp;nbsp;that is some where in-between. It will help in many cases where deices stays&amp;nbsp;whit in the same country.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Roaming SIM card from Soracom sluggish on NB-IoT</title><link>https://devzone.nordicsemi.com/thread/465300?ContentTypeID=1</link><pubDate>Mon, 22 Jan 2024 12:39:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5e5d7ef5-20cc-4aca-9985-5ba162598a79</guid><dc:creator>JONATHAN LL</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Have you been in contact with Soracom?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Can you provide some logs of the situation where this is happening.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;This connection time is repeatable multiple times with same SIM card and and device?&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Regards,&lt;br /&gt;Jonathan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>