Smart Machine Smart Decision
SIM7000 Series_AT Command Manual_V1.03 136 2018-05-08
+CDNSGIP: 1,<domain name>,<IP1>[,<IP2>]
If fail, return:
+CDNSGIP:0,<dns error code>
Parameters
<domain name> A string parameter which indicates the domain name
<IP1> A string parameter which indicates the first IP address
corresponding to the domain name
<IP2> A string parameter which indicates the second IP address
corresponding to the domain name
<dns error code> A numeric parameter which indicates the error code
8 DNS COMMON ERROR
3 NETWORK ERROR
There are some other error codes as well.
Mode
NO_SAVE
Time
-
Reference
Note
8.2.16 AT+CIPHEAD Add an IP Head at the Beginning of a Package Received
AT+CIPHEAD Add an IP Head at the Beginning of a Package Received
Test Command
AT+CIPHEAD=
?
Response
+CIPHEAD: (list of supported <mode>s)
OK
Parameter
See Write Command
Read Command
AT+CIPHEAD?
Response
+CIPHEAD: <mode>
OK
Parameters
See Write Command
AT+CIPHEAD=
<mode>
OK
<mode> A
numeric parameter which indicates whether an IP header
is added to the received data or not.
0 Not add IP header
1 Add IP header, the format is: