EasyManua.ls Logo

Quectel BG96 TCP/IP - Page 25

Quectel BG96 TCP/IP
53 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LPWA Module Series
BG96 TCP/IP Application Note
BG96_TCP/IP_Application_Note 24 / 52
Parameter
AT+QPING Ping a Remote Server
Test Command
AT+QPING=?
Response
+QPING: (range of supported <connectID>s),<host>,(range
of supported <timeout>s),(range of supported <pingnum>s)
OK
Write Command
AT+QPING=<contextID>,<host>[,<tim
eout>[,<pingnum>]]
Response
If a remote server is pinged successfully:
OK
+QPING: <result>[,<IP_address>,<bytes>,<time>,<ttl>]<C
R><LF>[…]
+QPING: <finresult>[,<sent>,<rcvd>,<lost>,<min>,<max>,
<avg>]
If there is any error:
ERROR
Maximum Response Time
255s, determined by <timeout>.
Characteristics
/
<contextID> Integer type. Context ID. Range: 116.
<host> String type. Host address. The format is a domain name or a dotted decimal IP address.
<timeout> Integer type. Maximum time to wait for the response of each ping request.
Range: 1255. Default value: 4. Unit: second.
<pingnum> Integer type. Maximum number of times for sending ping request. Range: 110. Default
value: 4.
<result> Integer type. Result of each ping request.
0 Received the ping response from the server. In this case, it is followed
by ,<IP_address>,<bytes>,<time>,<ttl>.
Others Error code of operation. Please refer to the error codes in Chapter 4.
<IP_address> String type. IP address of the remote server formatted as a dotted decimal IP.
<bytes> Integer type. Length of each sent ping request. Unit: byte.
<time> Integer type. Time wait for the response of the ping request. Unit: ms.
<ttl> Integer type. Time to live value of the response packet for the ping request.
<finresult> Integer type. Final result of the command.
0 It is finished normally. It is successful to activate the context and find the host.
In this case, it is followed by <sent>, <rcvd>, <lost>, <min>, <max> and
<avg>.

Table of Contents

Related product manuals