At+Qidnscfg Configure Address Of Dns Server - Quectel BG96 TCP/IP Application Note

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

Advertisement

<port>
Integer type. Port number of NTP server. Range: 1-65535. Default value: 123.
<auto_set_time> Integer type. Whether to automatically set synchronized time to local time.
0
1
<err>
Integer type. Error code of operation. Please refer to Chapter 4.
<time>
String type. Time synchronized from NTP server.
The format is "YYYY/MM/DD,hh:mm:sszz". Range of "zz": -48 to 56.

2.2.13. AT+QIDNSCFG Configure Address of DNS Server

Before setting the DNS address, the host must activate the context corresponding to <contextID> via
AT+QIACT first.
AT+QIDNSCFG Configure Address of DNS Server
Test command
AT+QIDNSCFG=?
Write Command
AT+QIDNSCFG=<contextID>,[<pr
idnsaddr>[,<secdnsaddr>]]
Maximum Response Time
Characteristics
Parameter
<contextID>
<pridnsaddr>
<secdnsaddr>
BG96_TCP/IP_Application_Note
Not set
Set
Response
+QIDNSCFG: (range of supported <connectID>s),<pridnsadd
r>,<secdnsaddr>
OK
Response
If the optional parameters are omitted, query the current DNS
server addresses of a specified PDP context:
+QIDNSCFG: <contextID>,<pridnsaddr>,<secdnsaddr>
OK
If any of the optional parameters is specified, set the primary and
secondary DNS server addresses of a specified PDP context:
OK
If there is any error:
ERROR
300 ms
The command takes effect immediately.
The configurations will not be saved.
Integer type. PDP context ID. Range: 1–16.
String type. Primary DNS server address.
String type. Secondary DNS server address.
LPWA Module Series
BG96 TCP/IP Application Note
26 / 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

Subscribe to Our Youtube Channel

Table of Contents

Save PDF