<?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>nrf9160dk modem shell settings</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/87101/nrf9160dk-modem-shell-settings</link><description>Toolchain: 1.9.1 
 modem fw: mfw_1.3.1 
 PC OS: windows 10 
 Terminal software: Tera Term 
 SIM card: AT&amp;amp;T (North America) 
 in the modem shell example code, in &amp;quot;prj.conf file&amp;quot;, there is a configuration, 
 
 
 should it be turned on, if I wanna the nrf9160dk</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Apr 2022 12:53:24 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/87101/nrf9160dk-modem-shell-settings" /><item><title>RE: nrf9160dk modem shell settings</title><link>https://devzone.nordicsemi.com/thread/363940?ContentTypeID=1</link><pubDate>Wed, 20 Apr 2022 12:53:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7aee13ac-b467-423a-ba23-0375786a61be</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]should it be turned on, if I wanna the nrf9160dk start auto searching the cellular network and registration?[/quote]
&lt;p&gt;The default, in ncs v1.9.1, is that it starts searching on boot.&lt;/p&gt;
&lt;p&gt;You can read the static settings with the command:&lt;/p&gt;
&lt;p&gt;link settings -r&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If you type link settings, you will get a help menu printed:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;mosh:~$ link settings
Usage: link settings --read | --reset | --mreset_all | --mreset_user
Options:
  -r, --read,        Read and print current persistent settings
      --reset,       Reset all persistent settings to defaults
      --mreset_all,  Reset all modem settings to defaults
      --mreset_user, Reset modem user configurable settings to defaults&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]I did try to turn it on, but after that, when the program start, and I try to pull &amp;quot;link status&amp;quot;, it will throw out some errors. see screenshot below. (I know I didn&amp;#39;t plug in the SIM when I try to make this screenshot, but even if I did insert the SIM the error is the same.)[/quote]
&lt;p&gt;The screenshot shows that there are problems communicating with the SIM card. Are you certain it was properly connected at the time of testing?&lt;/p&gt;
[quote user=""]for general purpose, should user need to change any of those options in the prj.config file?[/quote]
&lt;p&gt;the modem_shell sample is setup in such a way that it (usually) requires commands to do a certain task. If everything works as you intend it to, then no need to add or adjust any configurations. There are overlay configuration files available in the sample for certain use-cases, like pgps/cloud/ppp etc.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>