Specifications

UC864-E/G/WD/WDU AT Commands Reference Guide
80304ST10041a Rev. 7 - 2010-10-14
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved. Page 263 of 318
3.5.7.4.7. Socket Open - #SKTOP
#SKTOP - Socket Open
AT#SKTOP Execution command activates the context number 1, proceeds with the
authentication with the user ID and password previously set by #USERID
and #PASSW commands, and opens a socket connection with the host
specified in the #SKTSET command. Eventually, before opening the socket
connection, it issues automatically a DNS query to solve the IP address of
the host name.
If the connection succeeds a CONNECT indication is sent, otherwise a NO
CARRIER indication is sent.
AT#SKTOP=? Test command returns the OK result code.
Example AT#SKTOP
..GPRS context activation, authentication and socket open..
CONNECT
Note This command is obsolete. It’s suggested to use the couple #SGACT and
#SD
instead of it.
3.5.7.4.8. Query DNS - #QDNS
#QDNS - Query DNS
AT#QDNS=
[<host name>]
Execution command executes a DNS query to solve the host name into an IP
address.
Parameter:
<host name> - host name, string type.
If the DNS query is successful then the IP address will be reported in the
result code:
#QDNS:"<host name>",<IP address>
Note: the command has to activate the GPRS context if it was not previously
activated. In this case the context is deactivated after the DNS query.
Note: <IP address> is in the format: xxx.xxx.xxx.xxx
AT#QDNS=? Test command returns the OK result code.
Note This command requires that the authentication parameters are correctly
set and that the GPRS network is present.