UC864
UC864
UC864
UC864----E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU
E/G/WD/WDU AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
AT Commands Reference Guide
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6
80304ST10041a Rev. 6 ---- 2010
2010
2010
2010----0
00
05
55
5----20
20
20
20
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved.
Page 274 of 329
3.5.7.4.7.
Socket Open
Socket Open
Socket Open
Socket Open ---- #SKTOP
#SKTOP
#SKTOP
#SKTOP
#SKTOP
#SKTOP
#SKTOP
#SKTOP ---- Socket Open
Socket Open
Socket Open
Socket Open
AT#SKTOP
AT#SKTOP
AT#SKTOP
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
CONNECT
CONNECT
CONNECT indication is sent, otherwise a NO
NO
NO
NO
CARRIER
CARRIER
CARRIER
CARRIER indication is sent.
AT#SKTOP=?
AT#SKTOP=?
AT#SKTOP=?
AT#SKTOP=?
Test command returns the OK
OK
OK
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.7.4.8.
Query DNS
Query DNS
Query DNS
Query DNS ---- #QDNS
#QDNS
#QDNS
#QDNS
#QDNS
#QDNS
#QDNS
#QDNS ---- Query DNS
Query DNS
Query DNS
Query DNS
AT#QDNS=
AT#QDNS=
AT#QDNS=
AT#QDNS=
[<host name>]
[<host name>]
[<host name>]
[<host name>]
Execution command executes a DNS query to solve the host name into an IP
address.
Parameter:
<host name>
<host name>
<host name>
<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>
#QDNS:"<host name>",<IP address>
#QDNS:"<host name>",<IP address>
#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>
<IP address>
<IP address>
<IP address> is in the format: xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx
xxx.xxx.xxx.xxx
AT#QDNS=?
AT#QDNS=?
AT#QDNS=?
AT#QDNS=?
Test command returns the OK
OK
OK
OK result code.
Note
This command requires that the authentication parameters are correctly
set and that the GPRS network is present.