LPWA Module Series
BG95&BG77&BG600L Series TCP/IP Application Note
BG95&BG77&BG600L_Series_TCP/IP_Application_Note 28 / 56
Parameter
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
Integer type. Context ID. Range: 1–16.
String type. Host address. It is a domain name or a dotted decimal IP address.
Integer type. Maximum time to wait for the response of each ping request. Range:
1–255. Default value: 4. Unit: second.
Integer type. Maximum number of ping requests. Range: 1–10. Default value: 4.
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.
String type. IP address of the remote host in dotted-decimal notation.
Integer type. Length of each sent ping request. Unit: byte.
Integer type. Time wait for the response of the ping request. Unit: ms.
Integer type. Time to live value of the response packet for the ping request.
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.
Integer type. Total number of the ping requests that have been sent.
Integer type. Total number of the ping requests that have received responses.