MTD2000 AT Command Guide R12
Confidential
DAVISCOMMS (S) PTE LTD
35 /105
Parameters
DNS1
Primary DNS server address (IP address in dotted-four-byte
format). This value determines whether to use the DNS server
addresses dynamically assigned by the network or a specific DNS
server address given by the user. "DNS1" = "0.0.0.0" (default)
means that the GPRS connection profile uses dynamic DNS
assignment. Any other address means that the Primary DNS is
manually set. The default value applies automatically if no other
address is set.
DNS2
Secondary DNS server address (IP address in dotted-four-byte format). If
"DNS1" = "0.0.0.0" this setting will be ignored. Otherwise this value can
be used to manually configure an alternate server for the DNS1. If
"DNS1" is not equal "0.0.0.0" and no "DNS2" address is given, then
"DNS2"="0.0.0.0" will be assumed automatically.
Example
Command
Response
AT$ND=”165.21.83.88”
Note: Set only primary DNS address.
OK
AT$ND?
Note: Query DNS address.
OK
$ND: ”165.21.83.88”,”0.0.0.0”
AT$ND=”165.21.83.88”,”165.21.100.88”
Note: Set primary and secondary DNS
address.
OK
AT$ND?
Note: Query DNS address.
OK
$ND: ”165.21.83.88”,”165.21.100.88”
10.5 Network Connection – AT$NC
This command is used to setup a network connection via GPRS.
Note:
1. If the user is trying to establish a new network connection without closing the
existing connection, the device will send out an unsolicited response to indicate
network connection not allowed.