User manual

Confidential, the whole present document is the sole property of Maestro Wireless Solution Ltd.
25
6. 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 Chapter 3 for
details.
6.1. AT command for setting up and execute ping
6.1.1. AT+IPPING command
Command Syntax
AT+IPPING
AT+IPPING= <mode>,<target>, <nb>, <delay>, <timeout>
Response syntax:
+IPPING : ,<address>, time=<echo time>
OK
Command
Possible responses:
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 seconds
AT+ IPPING
+IPPING : 210.103.11.18, time=562ms
+IPPING : 210.103.11.18, time=662ms
+IPPING : 210.103.11.18, time=762ms
OK
Execute ping action (no argument)
AT+IPPING=?
+IPPING: (0-2),(15),(1-10),(1-10),(1-60)
AT+ IPPING?
+IPPING: 210.103.11.18, 3, 1, 15
OK
Note display current status
Defined Values:
<mode>
0,1 reserved
2 configure ping address and parameters below
<target>
URL or IP address (dot-decimal notation xxx.xxx.xxx.xxx) of the target to be pinged.
<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.
(When used with IPCONNECT check the ping is assumed fail if all ping trails fail.)
<delay>
Time in second between each ping trial.
Default value is 3. Valid range is 1 to 10.