EasyManua.ls Logo

Telit Wireless Solutions ME910C1-WW - Socket Configuration - #SCFG; Socket Shutdown - #SH

Telit Wireless Solutions ME910C1-WW
233 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
AT Commands Reference Guide
80529ST10815A Rev.2– 2017-09-14
ReproductionforbiddenwithoutTelitCommunicationsS.p.A.writtenauthorization‐AllRightsReserved page152of233
Socket Shutdown - #SH
#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). Trying to close an active socket connection will produce an
error.
AT#SH=?
Test command returns the OK result code.
Socket Configuration - #SCFG
#SCFG - Socket Configuration
AT#SCFG=
<connId>,<cid>,
<pktSz>,<maxTo>,<c
onnTo>,<txTo>
Set command sets the socket configuration parameters.
Parameters:
<connId> - socket connection identifier
1..6
<cid> - - a numeric parameter which specifies a particular PDP context definition
(see +CGDCONT command)
<pktSz> - packet size to be used by the TCP/UDP/IP stack for data sending. Used
for online data mode only.
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(1...65535) - 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(10...1200) - 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. Used for online data mode only.
0 - no timeout
1..255- timeout value in hundreds of milliseconds (default 50)
256 – set timeout value in 10 milliseconds
257 – set timeout value in 20 milliseconds
258 – set timeout value in 30 milliseconds

Table of Contents

Other manuals for Telit Wireless Solutions ME910C1-WW

Related product manuals