Motorola AT Commands G24-L Información técnica Pagina 510

  • Descarga
  • Añadir a mis manuales
  • Imprimir
  • Pagina
    / 680
  • Tabla de contenidos
  • MARCADORES
  • Valorado. / 5. Basado en revisión del cliente
Vista de pagina 509
GPRS/EDGE
3-422 AT Commands Reference Manual August 5, 2008
+MSDNS, Set DNS IP Address
This command set/read DNS (Domain Name Server) IP address (primary/secondary) for each
socket. If the user doesn't specify DNS servers by AT+MSDNS, G24 will use default DNS from
NW. The defined value(s) will be saved during disconnect PDP context (can be used in next PDP
context), but will reset after power cycle.
The following table shows the +MSDNS parameters.
Command Type Syntax Response/Action Remarks
Set
AT+MSDNS=[<Socket_id>[,
<Primary DNS server IP>
[,<Secondary DNS server
IP>]]]
OK
or:
+CME ERROR: <err>
Read
AT+MSDNS? +MSDNS: 1,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 2,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 3,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 4,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
+MSDNS: 5,<Primary DNS server
IP>,< Secondary DNS server
IP><CR><LF>
<CR><LF>
OK
Test
AT+MSDNS=? +MSDNS: (List of supported
<Socket_id>s),(<IP>),(<IP>)
Table 3-279: +MSDNS Parameters
<Parameter> Description
<Socket_id> A unique number that identifies a connection (provided
by the terminal application).
0 - Invalid socket number
1,2,3,4 - Valid socket number
5 - Valid socket number dedicated to +MPING.
<Primary DNS server IP>, <Secondary
DNS server IP>
IP of the destination site in the format
"AAA.BBB.CCC.DDD". The range of each octant is
0-255. The value can be written in 1, 2, or 3 digits.
Vista de pagina 509
1 2 ... 505 506 507 508 509 510 511 512 513 514 515 ... 679 680

Comentarios a estos manuales

Sin comentarios