Technical information

Chapter 2: AT+i Commands Reference
May 31, 2008 AT+i Commands Reference Manual 2-171
+iHSTN - W24 Network Host Name
Result Code:
I/OK If IP is a legal IP address and Port is a legal IP port number.
I/ERROR Otherwise.
AT+iRRRL? Report the current return link IP and port. The reply is followed
by I/OK.
AT+iRRRL=? Returns the message "Name/IP[:Port]". The reply is followed by
I/OK.
Syntax: AT+iHSTN=host
Permanently sets W24's Host Name.
Parameters: host = Symbolic Host Name string.
Command Options:
host=" Empty: Do not attempt to register a symbolic host name. If the
W24 is already registered in the DNS, the symbolic name will
typically be cleared only after the last DHCP lease assigned to
this W24 has expired.
host=<NAME> NAME will be used to negotiate the registration of the W24 on the
DNS server via the DHCP server. Host name negotiation will be
implemented only during the next DHCP session. Typically this
session will occur after a hardware reset or by issuing the
AT+iDOWN command. Note that in order to achieve a successful
host name registration, the W24 must utilize a DHCP (DIP =
0.0.0.0) and the DHCP server must both exists and be configured
to dynamically add entries to the local DNS server.
NAME will also be included in all IP registration method formats.
Default: Empty. No network host name defined.
Result Code:
I/OK If host is empty or a string.
I/ERROR Otherwise.
AT+iHSTN? Report the current host name. The reply is followed by I/OK.
AT+iHSTN=? Returns the message "String". The reply is followed by I/OK.