<?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>nrf9160 at_write() Failed to send AT command (err:22)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/71162/nrf9160-at_write-failed-to-send-at-command-err-22</link><description>Hi We use INCE sim card in both Denmark and Sweden on our custom product. My main thread basically doing this: 
 lte_lc_offline (); 
 lte_lc_init (); 
 
 lte_lc_connect_async (lte_handler); 
 send socket to server; 
 
 go to sleep for x minutes; 
 and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 08 Mar 2021 10:21:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/71162/nrf9160-at_write-failed-to-send-at-command-err-22" /><item><title>RE: nrf9160 at_write() Failed to send AT command (err:22)</title><link>https://devzone.nordicsemi.com/thread/298314?ContentTypeID=1</link><pubDate>Mon, 08 Mar 2021 10:21:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b6a07bb8-9166-41ec-9994-49655363c4e7</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Yes, you did mention that but due to the number of errors in the trace we thought you might have misspoken. Please take a new trace when you have the chance.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 at_write() Failed to send AT command (err:22)</title><link>https://devzone.nordicsemi.com/thread/298191?ContentTypeID=1</link><pubDate>Fri, 05 Mar 2021 21:16:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4c3e29f-b453-4dcf-a15b-190bc9e435b9</guid><dc:creator>nmlkpoiu</dc:creator><description>&lt;p&gt;Hi Thank u for replying. But as I mentioned previously, I use&amp;nbsp;&lt;span&gt;mfw_nrf9160_1.2.1 not 1.2.2.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 at_write() Failed to send AT command (err:22)</title><link>https://devzone.nordicsemi.com/thread/297781?ContentTypeID=1</link><pubDate>Thu, 04 Mar 2021 12:25:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9327f9e0-14ae-4f1a-8b53-5e42639a9053</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;We were not able to successfully&amp;nbsp;&lt;span&gt;parse the trace file you attached. There were fewer errors with the modem 1.2.2 database though, so I&amp;#39;m wondering if you&amp;#39;re actually using MFW v1.2.2?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Are you able to take a new trace?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 at_write() Failed to send AT command (err:22)</title><link>https://devzone.nordicsemi.com/thread/293514?ContentTypeID=1</link><pubDate>Tue, 09 Feb 2021 10:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:43242595-e209-474b-9faa-fc115a5dfd8f</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;m sorry about the slow response time. I just wanted to let you know I&amp;#39;m looking into your case now.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 at_write() Failed to send AT command (err:22)</title><link>https://devzone.nordicsemi.com/thread/292868?ContentTypeID=1</link><pubDate>Thu, 04 Feb 2021 10:35:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d566c05-3d7e-479f-85be-ad90ba0abbd5</guid><dc:creator>nmlkpoiu</dc:creator><description>&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/trace_2D00_2021_2D00_02_2D00_02T21_2D00_38_2D00_21.889Z.bin"&gt;devzone.nordicsemi.com/.../trace_2D00_2021_2D00_02_2D00_02T21_2D00_38_2D00_21.889Z.bin&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/2021_2D00_02_2D00_01T22_5F00_11_5F00_12.678Z_2D00_log.txt"&gt;devzone.nordicsemi.com/.../2021_2D00_02_2D00_01T22_5F00_11_5F00_12.678Z_2D00_log.txt&lt;/a&gt;&lt;br /&gt;&amp;nbsp;I reproduced this &amp;quot;Failed to send AT command (err:22)&amp;quot; error again after&amp;nbsp;everything run OK for about 1 day&amp;nbsp;on 9160DK board. Here is the log and trace file.&lt;br /&gt;Seems like repeating this &amp;quot;connect&amp;quot; and then &amp;quot;offline&amp;quot; action for many times/hours will eventually trigger this&amp;nbsp;&lt;span&gt;&amp;quot;Failed to send AT command (err:22)&amp;quot; error.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf9160 at_write() Failed to send AT command (err:22)</title><link>https://devzone.nordicsemi.com/thread/292578?ContentTypeID=1</link><pubDate>Tue, 02 Feb 2021 23:05:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7434746-cc2c-47bd-80ec-dcf429c32419</guid><dc:creator>nmlkpoiu</dc:creator><description>&lt;p&gt;I didn&amp;#39;t use PSM.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>