Rainbow Electronics GM862-QUAD-PY User Manual
Page 351

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 351 of 434
#SKTD - Socket Dial
SELINT 2
[
0 - TCP (factory default)
1 - UDP
0..65535 - port number (factory default is 0)
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:
name>
(factory default is the empty string “”)
0 - local host closes immediately when remote host has closed (default)
255 - local host closes after an escape sequence (+++) or after an abortive
disconnect from remote.
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.
Note: this command is not allowed for sockets associated to a GSM context
(see #SCFG).
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