Chapter 5
Ping service
This feature is to make a ping (ICMP Echo Request) to a specified IP address and get back the echo result. Ping
service can also be called by IPCONNECT as a tool to check Internet connection. See AT+IPOPT command in
section 2.3 for details.
5.1 Setting up and executing ping command
AT+IPPING
Syntax: AT+IPPING=<mode>,<address>,<nb>,<delay>,<timeout>
Response: +IPPING : <address>,<echo_time>
Defined Values:
<mode> 0,1 reserved.
2 configure ping address and parameters below.
<address> IP address of the target to be pinged. Can be set as an IPv4 format (xxx.xxx.xxx.xxx) or as a domain
URL (i.e. domain.com). Maximum length 128 characters.
<nb> numbers of ping trials for each ping action. E.g. if the value is 3 will ping the target for 3 times. Default
value is 3. Valid range is 1 to 10. Note: when used with +IPCONNECT check the ping is assumed fail if
all ping trials fail.
<delay> time in second between each ping trial. Default value is 1. Valid range is 1 to 10.
<timeout> time in second before ping is timed out. Default value is 15. Valid range is 1 to 60.
<echo_time> ping response time in ms.
Example:
Command Response
AT+IPPING=2,"210.103.11.18",3,1,15 OK
Note : configure ping target (210.103.11.18), 3 ping trials total, 1
second between each trial, timeout limit 15
AT+IPPING +IPPING : "210.103.11.18",562
+IPPING : "210.103.11.18",662
+IPPING : "210.103.11.18",762
OK
Note: execute ping action (no argument)
AT+IPPING=? +IPPING: (0-2)[,(128),(1-10),(1-10),(1-60)]
OK
Note : possible arguments
AT+IPPING? +IPPING: "210.103.11.18",3,1,15
OK
Note: display current status
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com
37