6.4 Updating Dynamic DNS information
AT+IPDDNSUPD
Syntax:
AT+IPDDNSUPD
AT+IPDDNSUPD=<auto_upd>
Response:
OK
+IPDDNSUPD: <auto_upd>,<result>,<ret_code>
Defined Values:
<auto_upd> 0 disable automatic DDNS update.
1 enable automatic DDNS update (see notes for details).
<result> result of DDNS update process. Related to the return code of DDNS update server. If <result> is 1 or 2
the update is assumed successful.
<ret_code> return code of DDNS update server.
Example:
Command Response
AT+IPDDNSUPD=1 OK
Note: enable automatic DDNS update.
AT+IPDDNSUPD=0 OK
Note: disable automatic DDNS update.
AT+IPDDNSUPD +IPDDNSUPD: 1,"good 203.111.111.111"
OK
Note: perform DDNS update, successful.
AT+IPDDNSUPD +IPDDNSUPD: 3,"badauth"
OK
Note: perform DDNS update, unsuccessful.
AT+IPDDNSUPD? +IPDDNSUPD: 3,"badauth"
OK
Note: automatic DDNS update disabled result of last DDNS
update since power up.
AT+IPDDNSUPD=? + IPDDNSUPD: (0-1)
OK
Table 6.1 list the relationship between <result> and <ret_code>. Visit Website of DDNS service providers for the
explanation of return code.
Result 1 2 3 4 5
Ret_code good no_chg badauth donator notfqdgn
Result 6 7 8 9 10 11
Ret_code nohost numhost abuse badagent dnserr 911
Table 6.1: Relation between result and ret_code
Confidential, the whole document is the sole property of Maestro Wireless Solutions ltd.
support@maestro-wireless.com
41