<?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>ping doesn&amp;#39;t go well with AT command using API - nrf9160DK, zephyrOS</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/113994/ping-doesn-t-go-well-with-at-command-using-api---nrf9160dk-zephyros</link><description>Hello 
 
 I&amp;#39;m configuring Ping with AT command using API - nrf9160DK, zephyrOS. However, it doesn&amp;#39;t go well. API reply &amp;quot;ERROR&amp;quot;. 
 some other AT command goes well, but, Ping not. 
 ( &amp;quot;AT+CPSI?&amp;quot; is also not good.) 
 
 Could you check and please let me know</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 29 Aug 2024 13:53:09 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/113994/ping-doesn-t-go-well-with-at-command-using-api---nrf9160dk-zephyros" /><item><title>RE: ping doesn't go well with AT command using API - nrf9160DK, zephyrOS</title><link>https://devzone.nordicsemi.com/thread/500444?ContentTypeID=1</link><pubDate>Thu, 29 Aug 2024 13:53:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2cb87ed3-3138-45a2-8d25-8a6468535f51</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;This seems to be the same message as you showed in your initial question. Can you show all changes that you made in the meantime?&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ping doesn't go well with AT command using API - nrf9160DK, zephyrOS</title><link>https://devzone.nordicsemi.com/thread/500181?ContentTypeID=1</link><pubDate>Wed, 28 Aug 2024 11:00:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9bbee84-20a3-4bc9-b94d-6453754a5f14</guid><dc:creator>s-shige</dc:creator><description>&lt;p&gt;Hello,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;thank you for the info&amp;nbsp; and I added&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_MODEM_SLM"&gt;CONFIG_MODEM_SLM&lt;/a&gt;&lt;span&gt;&amp;nbsp;=y in .conf.&lt;br /&gt;&lt;br /&gt;however, still error below, with the code (snipet)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;[00:00:18.573,181] &amp;lt;err&amp;gt; Lesson4_Exercise1: Failed to ping server: 8.8.8.8, response: ERROR&lt;br /&gt;, err: 65536&lt;br /&gt;[00:00:18.573,211] &amp;lt;err&amp;gt; Lesson4_Exercise1: ERR Info (ERR: 0, ERR TYPE: 1)&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;thx&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ping doesn't go well with AT command using API - nrf9160DK, zephyrOS</title><link>https://devzone.nordicsemi.com/thread/500012?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 13:41:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:849096cc-f853-48c2-9a9b-c0cc27008c78</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;You can look at&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/modem_slm.html#configuration"&gt;SLM configuration&lt;/a&gt;. There you can find Kconfig option&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/kconfig/index.html#CONFIG_MODEM_SLM"&gt;CONFIG_MODEM_SLM&lt;/a&gt;&amp;nbsp;which enables modem SLM library.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ping doesn't go well with AT command using API - nrf9160DK, zephyrOS</title><link>https://devzone.nordicsemi.com/thread/499861?ContentTypeID=1</link><pubDate>Tue, 27 Aug 2024 00:50:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bdd9cdae-dbef-4ed9-9f11-f300b668b432</guid><dc:creator>s-shige</dc:creator><description>&lt;p&gt;Thank you but, Seems like it needs to implement ICMP operation.&lt;/p&gt;
&lt;p&gt;Can we link&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/serial_lte_modem/README.html"&gt;SLM&lt;/a&gt;&amp;nbsp;as module or library ?&lt;/p&gt;
&lt;p&gt;thx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ping doesn't go well with AT command using API - nrf9160DK, zephyrOS</title><link>https://devzone.nordicsemi.com/thread/498765?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 08:27:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bfd6b97e-b5a3-4820-9129-e5496c38562d</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;There is a possibility to register&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/libraries/modem/at_cmd_custom.html"&gt;custom AT commands&lt;/a&gt;&amp;nbsp;which will be used in the application.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ping doesn't go well with AT command using API - nrf9160DK, zephyrOS</title><link>https://devzone.nordicsemi.com/thread/498746?ContentTypeID=1</link><pubDate>Mon, 19 Aug 2024 05:03:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6a89648e-1f76-40a7-9ab8-3f1a5ef1330d</guid><dc:creator>s-shige</dc:creator><description>&lt;p&gt;Additionally,&lt;/p&gt;
&lt;p&gt;in fact, is it possible to call AT command, ping like this ?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;nbsp; &amp;nbsp; snprintf(at_cmd, sizeof(at_cmd), &amp;quot;AT#XPING=\&amp;quot;%s\&amp;quot;,4,1000&amp;quot;, server_addr); // Ping once with a 1000ms timeout&lt;br /&gt;&amp;gt;&amp;nbsp; &amp;nbsp; int err = nrf_modem_at_cmd(response_buffer, AT_RESPONSE_MAX_LEN, at_cmd);&lt;/p&gt;
&lt;p&gt;thx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ping doesn't go well with AT command using API - nrf9160DK, zephyrOS</title><link>https://devzone.nordicsemi.com/thread/498690?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 16:58:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2fd1e35-02dd-46ce-ae86-30d76e9d2f80</guid><dc:creator>s-shige</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;thank you for your update.&lt;/p&gt;
&lt;p&gt;It seems a little complex.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Could you let me know another way to realize ping functionality ?&lt;/p&gt;
&lt;p&gt;Is it possible to implement a ping equivalent function?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;thx&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ping doesn't go well with AT command using API - nrf9160DK, zephyrOS</title><link>https://devzone.nordicsemi.com/thread/498687?ContentTypeID=1</link><pubDate>Fri, 16 Aug 2024 16:35:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2943414f-3441-4cec-800b-46b3672970c4</guid><dc:creator>dejans</dc:creator><description>&lt;p&gt;Hi,&lt;br /&gt;&lt;br /&gt;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/serial_lte_modem/doc/ICMP_AT_commands.html#icmp-echo-request-xping"&gt;AT#XPING&lt;/a&gt;&amp;nbsp;is Serial LTE Modem (SLM)-specific command. You could try to use it with&amp;nbsp;&lt;a href="https://docs.nordicsemi.com/bundle/ncs-latest/page/nrf/applications/serial_lte_modem/README.html"&gt;SLM&lt;/a&gt;&amp;nbsp;sample.&lt;br /&gt;&lt;br /&gt;Best regards,&lt;br /&gt;Dejan&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>