
LPWA Module Series
BG95&BG77&BG600L Series TCP/IP Application Note
BG95&BG77&BG600L_Series_TCP/IP_Application_Note 28 / 56
Parameter
OK
Write Command
AT+QPING=<contextID>,<host>[,<ti
meout>[,<pingnum>]]
Response
If a remote host is pinged successfully:
OK
+QPING: <ping_result>[,<IP_address>,<bytes>,<time>,<
TTL>]
[
…]
+QPING: <finresult>[,<sent>,<rcvd>,<lost>,<min>,<ma
x>,<avg>]
If there is any error:
ERROR
Maximum Response Time
300 s
Characteristics
/
<contextID>
Integer type. Context ID. Range: 1
–16.
<host>
String type. Host address. It is a domain name or a dotted decimal IP address.
<timeout>
Integer type. Maximum time to wait for the response of each ping request. Range:
1
–255. Default value: 4. Unit: second.
<pingnum>
Integer type. Maximum number of ping requests. Range: 1
–10. Default value: 4.
<ping_result>
Integer type. Result of each ping request.
0
Received the ping response from the host. In this case, it is
followed by
,<IP_address>,<bytes>,<time>,<TTL>
.
Others
See
Chapter 4
for specific result codes.
<IP_address>
String type. IP address of the remote host in dotted-decimal notation.
<bytes>
Integer type. Length of each sent ping request. Unit: byte.
<time>
Integer type. Time wait for the response of the ping request. Unit: ms.
<TTL>
Integer type. Time to live value of the response packet for the ping request.
<finresult>
Integer type. The final result of the command.
0
Pinged successfully. It is successful to activate the context and find
the host. In this case, it is followed by
,<sent>,<rcvd>,<lost>,<min>,<max>,<avg>
.
Others
See
Chapter 4
for specific result codes.
<sent>
Integer type. Total number of the ping requests that have been sent.
<rcvd>
Integer type. Total number of the ping requests that have received responses.