unsolicited response for details.
In some cases, the reply message for an Echo Request message might be not an Echo Reply messages
but rather some other ICMP message, which is reporting an error in datagram processing. For purpose of
reporting an exact type of response for sent Echo Request message, unsolicited response includes
<type> and <code> fields. The first octet of the data portion of the IP datagram is an ICMP <type> field.
The value of this field determines the format of the remaining data. The <type> and <code> fields jointly
define ICMP message type.
For example, a case when an Echo Request message encapsulated in IP datagram to be forwarded by a
gateway has exceeded TTL (equal zero). In this case the gateway must discard the datagram and may
return an ICMP Time Exceeded message.
Example:
AT+MIPCALL=1,"cmnet"
OK
+MIPCALL: 10.170.4.111
AT+MPING=1,"10.170.4.112" // Ping remote computer using default parameters
OK
+MPING: "10.170.4.112",0,0,400 //Echo Reply message received, RTT is 400 ms.
+MPING: "10.170.4.112",0,0,420
+MPING: "10.170.4.112",0,0,440
+MPING: "10.170.4.112",0,0,410
//Ping request execution is completed. Four Echo Request messages were sent, and four
//Echo Reply messages were received. Average RTT is 417 milliseconds.
+MPINGSTAT: 0,"10.170.4.112",4,4,417
The unsolicited response that the
Module sends to the terminal to
inform it with ping execution status
update. This response also provides
a statistics summary of ping request
when ping request execution is
completed.