
GSM/GPRS Module
M35
AT Commands Manual
M35
_AT_Commands_Manual Confidential / Released 151 /
186
Parameter
OK
Write Command
AT+QPING=“<host>”[,[<timeout>][,<p
ingnum>]]
Response
OK
[+QPING:
<result>[,<ipAddr>,<bytes>,<time>,<ttl>]<CR><LF>
…]<CR><LF>
+QPING:<finresult>[,<sent>,<rcvd>,<lost>,<min>,<max>,
<avg>]
ERROR
Reference
<host>
The host address in string style. It could be a domain name or a dotted decimal IP address
<timeout>
A numeric gives the maximum time to wait for the response of each ping request. Unit:
second. Range: 1-255. Default: 1
<pingnum>
A numeric indicates the maximum time of ping request. Range: 1-10. Default: 4
<result>
The result of each ping request
0
Received the ping response from the server. In the case, it is followed by
“
,<ipAddr>,<bytes>,<time>,<ttl>
”
1
Timeout for the ping request. In the case, no other information follows it
<ipAddr>
The IP address of the remote server. It is a dotted decimal IP
<bytes>
The length of sending each ping request
<time>
The time expended to wait for the response for the ping request. Unit: ms
<ttl>
The value of time to live of the response packet for the ping request
<finresult>
The final result of the command
2
It is finished normally. It is successful to activate GPRS and find the host. In the
case, it is followed by “
,<sent>,<rcvd>,<lost>,<min>,<max>,<avg>
”
3
The TCP/IP stack is busy now. In the case, no other information follows it
4
Do NOT find the host. In the case, no other information follows it
5
Failed to activate PDP context. In the case, no other information follows it
<sent>
Total number of sending the ping requests
<rcvd>
Total number of the ping requests that received the response
<lost>
Total number of the ping requests that were timeout
<min>
The minimum response time. Unit: ms
<max>
The maximum response time. Unit: ms
<avg>
The average response time. Unit: ms