<?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>Problem with nRF9160</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84782/problem-with-nrf9160</link><description>Dears, 
 I can&amp;#39;t select a new operator among the list I have, when I put the command at at+cops=1,1,&amp;quot;20820&amp;quot; , I have the error: ERROR: -8 , could you explain me what is this error please? Thanks you advance. 
 Best regards,</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 15 Feb 2022 14:24:54 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84782/problem-with-nrf9160" /><item><title>RE: Problem with nRF9160</title><link>https://devzone.nordicsemi.com/thread/353140?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 14:24:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:eb6a8562-70fd-410f-ac44-2e28e15dd2ff</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;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;Yes, I confirm that this issue seems to be a modem_shell AT handling issue, as it does not occur if you use at_client instead.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span style="text-decoration:line-through;"&gt;As a workaround for the time being, could you use at_client for your testing purposes?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The AT command needs to be escaped with &amp;quot;\&amp;quot; in modem_shell:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;at at+cops=1,2,\&amp;quot;24412\&amp;quot;&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&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><item><title>RE: Problem with nRF9160</title><link>https://devzone.nordicsemi.com/thread/353138?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 14:21:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:042aa736-f18b-4cf6-92e1-4a8bee309441</guid><dc:creator>alaa.hamad</dc:creator><description>&lt;p&gt;I have the same error even with 2 : (at+cops=1,&lt;strong&gt;2&lt;/strong&gt;,&amp;quot;20820&amp;quot;)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Problem with nRF9160</title><link>https://devzone.nordicsemi.com/thread/353133?ContentTypeID=1</link><pubDate>Tue, 15 Feb 2022 14:18:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a3c3b8b-b8ba-415b-8027-f070747e267a</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;
&lt;p&gt;The &amp;quot;format&amp;quot; field should be &amp;#39;2&amp;#39; when selecting &amp;#39;1&amp;#39; as the first parameter:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cops_set.html?cp=2_1_7_0_0"&gt;https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/nw_service/cops_set.htm&lt;/a&gt;l&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Based on the at command that you are using modem_shell.&lt;/p&gt;
&lt;p&gt;If I issue your command using the &amp;quot;at_client&amp;quot;, there&amp;#39;s no issue (at+cops=1,&lt;strong&gt;2&lt;/strong&gt;,&amp;quot;20820&amp;quot;), but in modem_shell I get a &amp;quot;ERROR&amp;quot; returned, even after placing the modem in flight mode / off mode.&lt;/p&gt;
&lt;p&gt;This seems like a bug in modem_shell at handling, which I will&amp;nbsp;report internally to the modem_shell team.&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>