<?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>How to get &amp;quot;OK&amp;quot; message after sending an AT command &amp;quot;AT+CFUN=1&amp;quot;?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62850/how-to-get-ok-message-after-sending-an-at-command-at-cfun-1</link><description>&amp;lt;environment&amp;gt; - Windows10 - modem fw v1.2.0 - nrf v1.3.0 
 I try to receive &amp;quot;OK&amp;quot; message after sending an AT command &amp;quot;AT+CFUN=1&amp;quot; using at_cmd.c functions but can&amp;#39;t receive it. 
 How can I do that? 
 This doesn&amp;#39;t work 
 
 Then I used semaphore and and</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 24 Jun 2020 14:11:21 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62850/how-to-get-ok-message-after-sending-an-at-command-at-cfun-1" /><item><title>RE: How to get "OK" message after sending an AT command "AT+CFUN=1"?</title><link>https://devzone.nordicsemi.com/thread/256735?ContentTypeID=1</link><pubDate>Wed, 24 Jun 2020 14:11:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51f48b75-d9ed-4575-8091-2ec4a1d2c259</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to get "OK" message after sending an AT command "AT+CFUN=1"?</title><link>https://devzone.nordicsemi.com/thread/256250?ContentTypeID=1</link><pubDate>Mon, 22 Jun 2020 15:00:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d59c369b-b3f8-4765-bacc-475025faf5b8</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Is ret = 0 after this call?&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;ret = at_cmd_write(&amp;quot;AT+CFUN=1&amp;quot;, buf, RX_BUF_LEN, &amp;amp;state);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If it returns 0 it means that you receive the &amp;quot;OK&amp;quot; message. The at_notif_handler is only used if you expect any other callbacks, such as CEREG updates. If you expect a callback you can use at_cmd_write_with_callback().&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;So if ret = 0, then the AT+CFUN=1 is successful.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Edvin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>