EasyManua.ls Logo

Neoway N11 V2 - Querying IP Address (+DNS)

Neoway N11 V2
134 pages
Print Icon
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...
N11 V2
AT Command Manual
Copyright © Neoway Technology Co., Ltd
117
time after this command is sent successfully.
Current the following time servers support time update: time.windows.com,
time.nist.gov, etc.
18.3 Querying the IP Address: +DNS
Description
To query the IP address
Format
AT+DNS=<string><CR>
Parameter
<string>: The website URL to be queried, in form of www.xxxx.com (with or without
quotation marks)
Return Value
See the Example.
Example
AT+DNS="www.china.com"
OK
+DNS:124.238.253.103
+DNS:OK
Query the IP address of
www.china.com, and the module
returns the IP address
124.238.253.103.
AT+DNS="neowayjsr.oicp.net"
OK
+DNS:219.133.101.207
+DNS: OK
Query the IP address of
neowayjsr.oicp.net, and the module
returns the IP address
219.133.101.207.
Remarks
The URL length should not exceed 250 bytes.
18.4 Ping Function: +PING
Description
Ping function
Format
AT+PING=<ip><CR>
Parameter
<ip>: destination IP address, in form of xx.xx.xx.xx or www.xxxxxx.com (domain

Table of Contents

Related product manuals