Download Rhydo SIM 900 SIM 900 -TTL UART Specifications

Transcript
SIM900 AT Commands Set
Test Command
Response
AT+CDNSCFG= +CDNSCFG: (“Primary DNS”),(“Secondary DNS”)
?
OK
Read command
Response
AT+CDNSCFG? PrimaryDns: <pri_dns>
SecondaryDns: <sec_dns>
OK
Write Command
AT+CDNSCFG=
<pri_dns>,[<sec_
dns>]
Response
OK
ERROR
Parameters
<pri_dns>
<sec_dns>
Reference
a string parameter(string should be included in quotation
marks) which indicates the IP address of the primary
domain name server
a string parameter(string should be included in quotation
marks) which indicates the IP address of the secondary
domain name server
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,
SIM900_ATC_V1.01
179
23.06.2010