7 socket dial - #sd – Rainbow Electronics GM862-QUAD-PY User Manual
Page 321

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 321 of 434
#SCFGEXT - Socket Configuration Extended
SELINT 2
<unused_A1>,<unused_B1><CR><LF>
...
#SCFGEXT: <connId6>,<srMode6>,<dataMode6>,<keepalive6>
<unused_A6>,<unused_B6>
AT#SCFGEXT=?
Test command returns the range of supported values for all the
subparameters.
Example
Socket 1 set with data view sring, text data mode and a
keepalive time of 30 minutes.
Socket 3 set with data amount sring, hex data mode and
no keepalive.
at#scfgext?
#SCFGEXT: 1,2,0,30,0,0
#SCFGEXT: 2,0,0,0,0,0
#SCFGEXT: 3,1,1,0,0,0
#SCFGEXT: 4,0,0,0,0,0
#SCFGEXT: 5,0,0,0,0,0
#SCFGEXT: 6,0,0,0,0,0
OK
3.5.7.3.7 Socket Dial - #SD
#SD - Socket Dial
SELINT 2
AT#SD=<connId>,
<txProt>,<rPort>,
<IPaddr>
[,<closureType>
[,<lPort>
[,<connMode>]]]
Execution command opens a remote connection via socket.
Parameters:
<connId> - socket connection identifier
1..6
<txProt> - transmission protocol
0 - TCP
1 - UDP
<rPort> - remote host port to contact
0..65535
<IPaddr> - address of the remote host, string type. 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
<closureType> - socket closure behaviour for TCP
0 - local host closes immediately when remote host has closed (default)
255 - local host closes after an escape sequence (+++)
<lPort> - UDP connections local port
0..65535
<connMode> - Connection mode
0 - online mode connection (default)
1 - command mode connection