Rainbow Electronics GM862-QUAD-PY User Manual
Page 350

 
 
 
 
AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 350 of 434
#SKTD - Socket Dial
SELINT 0 / 1
 0..65535 - port number 
 
Note: 
sockets shall be left unused. 
 
Note: 
sockets shall be left unused. 
 
Note: the resolution of the host name is done when opening the socket, 
therefore if an invalid host name is given to the #SKTD command, then an 
error message will be issued. 
 
Note: the command to be successful requests that: 
- the GPRS context 1 is correctly set with +CGDCONT 
- the authentication parameters are set (#USERID, #PASSW) the GPRS 
coverage is enough to permit a connection
- the GPRS has been activated with AT#GPRS=1
 
Note: If all parameters are omitted then the behaviour of Set command is 
the same as Read command. 
AT#SKTD?
Read command reports the socket dial parameters values, in the format: 
 
AT#SKTD: 
AT#SKTD=?
Test command returns the allowed values for the parameters.
Example
AT#SKTD=0,1024,"123.255.020.001",255 
CONNECT 
 
AT#SKTD=1,1024,"123.255.020.001", ,1025 
CONNECT 
In this way my local port 1025 is opened to the remote 
port 1024 
 
AT#SKTD=0,1024,"www.telit.net", 255 
CONNECT
Note
The main difference between this command and #SKTOP is that this 
command does not interact with the GPRS context status, leaving it ON or 
OFF according to the #GPRS setting, therefore when the connection made 
with AT#SKTD is closed the context (and hence the local IP address) is 
maintained. 
 
#SKTD - Socket Dial 
SELINT 2
AT#SKTD= 
[
[
Set command opens the socket towards the peer specified in the 
parameters. 
 
Parameters: 
