Modem Status, Customization, and Reset Commands
Rev 2.8.1 Feb.11 43
!SCDNS?<pid>
!SCDNS=<pid>,
<pri_dns>,<sec_dns>
Supporting modems:
• All
Queries / sets profile ID DNS address
This command is used to query / set the primary and secondary DNS
addresses of a profile.
Usage:
• AT!SCDNS?<pid> returns the primary (<pri_dns>) and secondary
(<sec_dns>) DNS addresses for the specified profile (<pid>).
• AT!SCDNS=<pid>,<pri_dns>,<sec_dns> sets the default primary and
secondary IP addresses for domain name services.
Parameters:
<pid> (PDP context definition)
• Valid range: 1–16 — a valid profile ID that will be used as the default
<pri_dns> (Default primary IP address for DNS lookup):
• ‘Dot format’ IP address. For example, 10.10.10.1
• Used by modem when no DNS server address is received over the air
during PDP context activation
<sec_dns>: Default secondary IP address for DNS lookup
• ‘Dot format’ IP address. For example, 10.10.10.1
• Used by modem when no DNS server address is received over the air
during PDP context activation
!SCPADDR=<pid>
Supporting modems:
• All
Displays IP address for specified PDP context
This command is used to display the IP address of the specified PDP context
(profile), or for all profiles.
Usage:
• AT!SCPADDR=<pid> returns the IP address for the specified <pid> in the
format <pid>, <addr>.
• AT!SCPADDR= returns the IP addresses for all defined profiles.
Parameters:
<pid> (profile ID (PDP context))
• Valid range: 1–16
<addr> (IP address of <pid>)
• ‘Dot’ format IP address (for exampel, 255.255.255.0)
Table 3-2: Modem status, customization, and reset commands (Continued)
Command Description
Comments to this Manuals