User's Manual

Telit TRIZIUM Product Description
80264ST10007a Rev. 4– 09/09/04
Reproduction forbidden without DAI Telecom written authorization – All Right reserved – Right of modification reserved page 176 of 202
5.8.4.7 #SKTOP – Socket Open command
#SKTOP – Socket Open Command
Execute command
AT#SKTOP
Activates the context number 1, proceeds with the authentication with the user ID and
password previously set with #USERID #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.
Read command
Write command
Test command
Example AT#SKTOP
… GPRS context activation, authentication and socket open…
CONNECT
Reference
Telit specifications
SW release
Version A
5.8.4.8 #QDNS – Query DNS
#QDNS – Query DNS
Execute command
AT#QDNS="<host name>"
This command activates a context, authenticates and proceeds to execute a DNS
query to solve the host name into an IP address.
If the DNS query is successful then the IP address will be reported in the result code:
#QDNS:"<host name>",< IP address>
the <IP address> is in the format: xxx.xxx.xxx.xxx
else
#QDNS:"<host name>", NOT SOLVED
Read command
Write command
Test command
NOTE This command requires that the first context parameters, the authentication par. are
correctly set and that the GPRS network is present.
Reference
Telit specifications
SW release
Version A
5.8.4.9 #SKTSAV – Socket Parameters Save Command
#SKTSAV – Socket Parameters Save Command
Execute command
AT#SKTSAV
Saves the actual Parameters of the Socket in the NVM of the device.
The values stored are:
- User Name
- Password
- Packet Size
- Socket inactivity timeout
- Data sending timeout
- Socket type (UDP/TCP)
- Remote port
- Remote address
Read command