Telit LE910 V2 Series AT Commands
80446ST10707A Rev. 0– 2015-11-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 405 of 509
Mod. 0808 2011-07 Rev.2
PING request - #PING
#PING – Send PING request
<IPaddr>[,<retryNu
m>[,<len>[,<timeout
>[,<ttl>]]]]
This command is used to send Ping Echo Request messages and to receive the
corresponding Echo Reply.
Parameters:
<IPaddr> - address of the remote host, string type. This parameter can be either:
- any valid IP address in the format: “xxx.xxx.xxx.xxx”
- any host name to be solved with a DNS query
<retryNum> - the number of Ping Echo Request to send
1-64 (default 4)
<len> - the lenght of Ping Echo Request message
32-1460 (default 32)
<timeout> - the timeout, in 100 ms units, waiting a single Echo Reply
1-600 (default 50)
<ttl> - time to live
1-255 (default 128)
Once the single Echo Reply message is receive a string like that is displayed:
#PING: <replyId>,<Ip Address>,<replyTime>,<ttl>
Where:
<replyId> - Echo Reply number
<Ip Address> - IP address of the remote host
<replyTime> - time, in 100 ms units, required to receive the response
<ttl> - time to live of the Echo Reply message
Note1: when the Echo Request timeout expires (no reply received on time) the
response will contain <replyTime> set to 600 and <ttl> set to 255
Note2: To receive the corresponding Echo Reply is not required to enable separately
AT#ICMP
Note3: Before send PING Request the GPRS context must have
been activated by AT#SGACT=1,1
Test command reports the supported range of values for the #PING command
parameters.
#PING: 01,"81.201.117.177",6,50
#PING: 02,"81.201.117.177",5,50
#PING: 03,"81.201.117.177",6,50
#PING: 04,"81.201.117.177",5,50