<?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>ICMP in OpenThread</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22649/icmp-in-openthread</link><description>Hi All, 
 Can one safely assume when sending a packet to a destination address using the ping command in the CLI, that the payload echoed back is the payload transmitted initially?</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 19 Jun 2017 10:07:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22649/icmp-in-openthread" /><item><title>RE: ICMP in OpenThread</title><link>https://devzone.nordicsemi.com/thread/89073?ContentTypeID=1</link><pubDate>Mon, 19 Jun 2017 10:07:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6828041d-4f15-42f0-8ab9-cacf3af7b15b</guid><dc:creator>Roger</dc:creator><description>&lt;p&gt;Hi Krzysztof,&lt;/p&gt;
&lt;p&gt;Thank you very much for the detailed answer.
I&amp;#39;ve also noticed the &lt;code&gt;ThreadError otIcmp6SendEchoRequest(otInstance* aInstance,otMessage* aMessage, const otMessageInfo* aMessageInfo,uint16_t aIdentifier)&lt;/code&gt; function in the API which I will adapt to my needs.&lt;/p&gt;
&lt;p&gt;While I was sending ICMP echo request (10 bytes per second for 1000 iterations) from the CLI, I noticed that some sequence numbers displayed on the CLI was skipped. I&amp;#39;m thinking that these must be packets that got lost during transmission and weren&amp;#39;t acknowledged by the sender.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Roger&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: ICMP in OpenThread</title><link>https://devzone.nordicsemi.com/thread/89072?ContentTypeID=1</link><pubDate>Mon, 12 Jun 2017 14:23:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2387ad82-2ec9-4029-bf80-5a296471ac13</guid><dc:creator>Krzysztof Loska</dc:creator><description>&lt;p&gt;Hi Roger,&lt;/p&gt;
&lt;p&gt;Yes, this assumption is true. To be even more precise, when you send Echo Request packet using CLI, a timestamp is attached as the payload. Look into &lt;a href="https://github.com/openthread/openthread/blob/master/src/cli/cli.cpp"&gt;cli.cpp file&lt;/a&gt; line 1599 - method ProcessPing() calls method HandlePingTimer() to do that. Echo Replay sends the payload back. For reference look into &lt;a href="https://github.com/openthread/openthread/blob/master/src/core/net/icmp6.cpp"&gt;icmp6.cpp file&lt;/a&gt; line 185 - HandleEchoRequest() method.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Krzysztof&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>