At+Qidnsgip Get Ip Address By Domain Name; At+Qicfg Configure Optional Parameters - Quectel BG96 TCP/IP Application Note

Lpwa module
Hide thumbs Also See for BG96 TCP/IP:
Table of Contents

Advertisement

2.2.14. AT+QIDNSGIP Get IP Address by Domain Name

Before querying the DNS, the host should activate the context corresponding to <contextID> via
AT+QIACT first. Depending on the network, it will take at most 60 seconds to return the result.
AT+QIDNSGIP Get IP Address by Domain Name
.
Test Command
AT+QIDNSGIP=?
Write Command
AT+QIDNSGIP=<contextID>,<hos
t_name>
Maximum Response Time
Characteristics
Parameter
<contextID>
Integer type. PDP context ID. Range: 1–16.
<host_name>
String type. Domain name.
<err>
Integer type. Error code of operation. Please refer to Chapter 4.
<IP_count>
Integer type. Number of the IP addresses corresponding to <host_name>.
<DNS_ttl>
Integer type. Time to live of the DNS.
<host_IP_addr> String type. IP address of <host_name>.

2.2.15. AT+QICFG Configure Optional Parameters

The Write Command configures some optional parameters such as the packet size for transparent access
mode, the format of the data to be sent or received, and the output format of received data.
AT+QICFG Configure Optional Parameters
Test Command
AT+QICFG=?
BG96_TCP/IP_Application_Note
Response
+QIDNSGIP: (range of supported <connectID>s),<host_name>
OK
Response
OK
+QIURC: "dnsgip",<err>,<IP_count>
[.....
+QIURC: "dnsgip",<host_IP_addr>]
If there is any error:
ERROR
60 s, determined by network.
/
Response
+QICFG: "transpktsize",(range of supported <transpkt_size>
s)
+QICFG: "transwaittm",(range of supported <transwaittm>s)
LPWA Module Series
BG96 TCP/IP Application Note
<DNS_ttl>
,
27 / 52

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BG96 TCP/IP and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF