PIONEERPOS G24-L 208 +MPING Unsolicited Response Parameters, Parameter Description Destination IP

Models: G24-LC G24-L

1 444
Download 444 pages 51.67 Kb
Page 359
Image 359

Chapter 3: AT Commands Reference

The following table shows the +MPING unsolicited response parameters.

Table 3-208: +MPING Unsolicited Response Parameters

 

 

<Parameter>

Description

 

 

 

 

<"Destination IP">

Specifies the message sender machine (computer),

 

which is identified by IP address 4 octets long in dotted

 

decimal notation. Each octet of IP address has valid

 

value range of 0 to 255. The message sender machine

 

(computer) may be either the target of Echo Request

 

message (if a response was an Echo Reply message) or

 

a gateway (router) in a path of Echo Request message

 

passage for any other ICMP response message.

 

 

<type>

The first octet of the ICMP header is a ICMP type field,

 

which specifies the format of the ICMP message. Refer

 

to IETF RFC 792 for <type> valid values.

 

 

<code>

The reasons for the non-delivery of a packet are

 

described by code field value of ICMP header. Every

 

<type> has its own defined <code> values. Refer to

 

IETF RFC 792 for <code> valid values.

 

 

<RTT>

Specifies Round Trip Time (RTT) measured in

 

milliseconds. This parameter will be reported in

 

command response only if Echo Reply message was

 

received.

 

 

 

 

Notes:

1.Ping request is being executed from the moment the valid AT+MPING set command was received by G24-L until +MPINGSTAT unsolicited report with <status> equal either to 0 or 2 is sent to DTE or ping request execution was aborted with AT+MPING=0 command. Refer to description of +MPINGSTAT unsolicited response for details.

2.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.

April 15, 2008

G24-L AT Commands Reference Manual

3-295

Page 359
Image 359
PIONEERPOS G24-LC manual 208 +MPING Unsolicited Response Parameters, Parameter Description Destination IP, Rtt