![Telit Wireless Solutions HE863 Series At Commands Reference Manual Download Page 192](http://html1.mh-extra.com/html/telit-wireless-solutions/he863-series/he863-series_at-commands-reference-manual_1083663192.webp)
HE863 family AT commands reference guide
80377ST10083a Rev.6 – 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved.
Page 192 of
229
#SKTSET - Socket Definition
AT#SKTSET=?
Test command returns the allowed values for the parameters.
Example AT#SKTSET=0,1024,"123.255.020.001"
OK
AT#SKTSET=0,1024,"www.telit.net"
OK
Note
Issuing command #QDNS will overwrite <remote addr> setting.
3.5.5.1.69.
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
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.70.
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.