
HE863 family AT commands reference guide
80377ST10083a Rev.6 – 2012-11-12
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved.
Page 207 of
229
#SCFGEXT - Socket Configuration Extended
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.
Socket 4 set with hex recv and send data mode
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,1,0,0,1
#SCFGEXT: 5,0,0,0,0,0
#SCFGEXT: 6,0,0,0,0,0
OK
3.5.5.2.7.
Socket Dial - #SD
#SD - Socket Dial
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
Note:
<closureType>
parameter is valid for TCP connections only and has
no effect (if used) for UDP connections.
Note:
<lPort>
parameter is valid for UDP connections only and has no