![Telit Wireless Solutions DE910-DUAL Reference Manual Download Page 163](http://html1.mh-extra.com/html/telit-wireless-solutions/de910-dual/de910-dual_reference-manual_1083623163.webp)
DE910-DUAL AT commands reference guide
80392ST10102A Rev.2 – 2012-07-03
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 163 of 261
#SH - Socket Shutdown
AT#SH=<connId>
This command is used to close a socket.
Parameter:
<connId>
- socket connection identifier
1..6
Note: a socket connection can be closed only when it is in suspended mode (with
pending data too) and incoming connection mode. Trying to close an active socket
connection produce an error and to close a closed socket or a listening socket
produce
OK
response without any action.
AT#SH=?
Test command reports the range for parameter
<connId>
.
#SCFG - Socket Configuration
AT#SCFG=
<connId>,<cid>,
<pktSz>,<maxTo>,
<connTo>,<txTo>
Set command sets the socket configuration parameters.
Parameters:
<connId>
- socket connection identifier
1..6
<cid>
- PDP context identifier
1 - numeric parameter which specifies a particular PDP context definition
<pktSz>
- packet size to be used by the TCP/UDP/IP stack for data sending.
0 - automatically chosen by the device.
1..1500 - packet size in bytes.
<maxTo>
- exchange timeout( or socket inactivity time); if there’s no data
exchange within this timeout period the connection is closed
0 - no timeout
n
- timeout value in seconds (default 90 s.)
<connTo>
- connection timeout; if we can’t establish a connection to the remote
within this timeout period, an error is raised.
0 - no timeout
n
- timeout value in hundreds of milliseconds (default 600)
<txTo>
- data sending timeout; data are sent even if they’re less than max packet
size , after this period.
0 - no timeout
n
- timeout value in hundreds of milliseconds (default 50)
Note: these values are automatically saved in NVM.
AT#SCFG?
Read command returns the current socket configuration parameters values for all
the six sockets, in the format:
#SCFG: <connId1>,<cid1>,<pktsz1>,<maxTo1>,<connTo1>,<txTo1>