Specifications

HE863 family AT commands reference guide
80377ST10083a Rev.4 – 2012-02-01
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved. Page 191 of
228
#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 ERROR
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 #SO
instead of it.
3.5.5.1.69. 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.
3.5.5.1.70. Manual DNS Selection - #DNS
#DNS – Manual DNS Selection
AT#DNS=<cid>,
<primary>,
<secondary>
Set command allows to manually set primary and secondary DNS servers
for a PDP context defined by +CGDCONT
Parameters: