10.11.1 Example: Ping. Multi-Tech MTSMC-E, MTCBA-E-EN2, SocketModem EDGE, MultiModem rCell, MTCMR-E, MTCBA-E-U, MultiModem iCell, MTCBA-E, MultiModem EDGE
Reklama
Reklama
Chapter 10 – Internet Service Commands
<conProfileId>
0...5
<request>
1...30
Internet connection profile identifier defined with parameter <conProfileId> of AT^SICS.
<address>
Target host name or IP address for pinging (i.e. 192.168.1.3).
Number of ping requests (ICMP Echo Requests). Default = 1.
<timelimit>
200..10000 Amount of time, in milliseconds, to wait for an Echo Response message related to a sent Echo Request message. .Default = 5000.
<pingInfoType>
Marks the type and format of the information given in the command responses (see syntax of the AT^SISX write command above).
1 Ping response(s) received for the ICMP Echo Request(s). Depending on parameter
<request> 1 - 30 rows. Address and Round Trip Time are returned for each request.
2 1-row packet statistic calculated from the ping response(s) received for
<pingInfoType>=1.
3 1-row time statistics calculated from the ping response(s) received for <ping-
InfoType>=1.
<roundTripTime>
Round Trip Time in milliseconds. If the Echo Response message is not received within the time specified by
<timelimit> the value -1 is returned (e.g. when the bearer shuts down during command execution).
<sent>
Number of sent packets.
<received>
Number of received packets.
<lost>
Number of lost packets.
<lostPercent>
Lost packets in percent.
<minRTT>
Minimum Round Trip Time in milliseconds.
<maxRTT>
Maximum Round Trip Time in milliseconds.
<meanRTT>
Average Round Trip Time in milliseconds.
10.11.1 Example: Ping
The following example shows a Ping output:
AT^SICS=0,conType,GPRS0
OK
AT^SICS=0,apn,"GPRS02.point.de"
AT^SICO=0
OK
AT^SISX="Ping",0,192.168.1.2,4,2000
^SISX: "Ping",1,0,"192.168.1.2",1043
^SISX: "Ping",1,0,"192.168.1.2",586
^SISX: "Ping",1,0,"192.168.1.2",531
^SISX: "Ping",1,0,"192.168.1.2",415
^SISX: "Ping",2,1,4,4,0,0
^SISX: "Ping",3,1,415,1043,643
OK
Select connection type GPRS0.
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371G)
156
Atsisiųsti
Reklama