User's Manual
Table Of Contents

Page 177 of 187
TECHNICAL MANUAL
Telit GM862 PCS
Tri Band GPRS Data Terminal System Rev.1
2.9.4.6 #SKTSET – Socket definition control
#SKTSET – Socket definition control
Execute command
Read command
AT#SKTSET?
Reports the current value of the parameters
<socket type>,<remote port>, <remote address>.
Write command
AT#SKTSET=<socket
type>, <remote port>,
"<remote address>"
This command sets the socket parameters values.
Parameter:
<socket type> - socket protocol type
0 - TCP
1 - UDP
<remote port> - remote host port to be opened
0…65535 - port number
<remote address> - address of the remote host
this parameter can be either:
- any valid IP address in the format: xxx.xxx.xxx.xxx
- any host name to be solved with a DNS query in the format: <host
name>
Test command
AT#SKTSET=? Returns the allowed values for the parameters.
Example AT#SKTSET = 0,1024,"123.124.020.007"
OK
Or
AT#SKTSET=0,1024,"www.telit.net"
OK
NOTE
The resolution of the host name is done when opening the socket,
therefore if an invalid host name is given to the #SKTSET command,
then no error message will be issued to the #SKTSET command.
The DNS Query to be successful requests that:
- the GPRS context 1 is correctly set with AT+CGDCONT
- the authentication parameters are set (#USERID, #PASSW)
- the GPRS coverage is enough to permit a connection
Reference Telit specifications
SW release Version C