beautypg.com

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

Page 321

background image




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

,
...
#SCFGEXT: ,,,
,

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=,
,,

[,
[,
[,]]]

Execution command opens a remote connection via socket.

Parameters:
- socket connection identifier
1..6
- transmission protocol
0 - TCP
1 - UDP
- remote host port to contact
0..65535
- 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

- socket closure behaviour for TCP
0 - local host closes immediately when remote host has closed (default)
255 - local host closes after an escape sequence (+++)
- UDP connections local port
0..65535
- Connection mode
0 - online mode connection (default)
1 - command mode connection