Rhydo SIM 900 SIM 900 -TTL UART Specifikace Strana 179

  • Stažení
  • Přidat do mých příruček
  • Tisk
  • Strana
    / 201
  • Tabulka s obsahem
  • KNIHY
  • Hodnocené. / 5. Na základě hodnocení zákazníků
Zobrazit stránku 178
SIM900 AT Commands Set
SIM900_ATC_V1.01 179 23.06.2010
Test Command
AT+CDNSCFG=
?
Response
+CDNSCFG: (“Primary DNS”),(“Secondary DNS”)
OK
Read command
AT+CDNSCFG?
Response
PrimaryDns: <pri_dns>
SecondaryDns: <sec_dns>
OK
Write Command
AT+CDNSCFG=
<pri_dns>,[<sec_
dns>]
Response
OK
ERROR
Parameters
<pri_dns> a string parameter(string should be included in quotation
marks) which indicates the IP address of the primary
domain name server
<sec_dns> a string parameter(string should be included in quotation
marks) which indicates the IP address of the secondary
domain name server
Reference
Note
8.2.14 AT+CDNSGIP Query the IP Address of Given Domain Name
AT+CDNSGIP Query the IP Address of Given Domain Name
Test Command
AT+CDNSGIP=
?
Response
OK
Write Command
AT+CDNSGIP=
<domain name>
Response
OK
ERROR
If successful, return:
+CDNSGIP: 1, <domain name>,<IP>
If fail, return:
+CDNSGIP:0,<dns error code>
Parameters
<domain name> a string parameter(string should be included in
quotation marks) which indicates the domain name
<IP address> a string parameter(string should be included in
quotation marks) which indicates the IP address
corresponding to the domain name
<dns error code> a numeric parameter which indicates the error code
10 DNS GENERAL ERROR
11 DNS MAX RETRIES,
Zobrazit stránku 178
1 2 ... 174 175 176 177 178 179 180 181 182 183 184 ... 200 201

Komentáře k této Příručce

Žádné komentáře