Specifications
HE863 family AT commands reference guide
80377ST10083a Rev.4 – 2012-02-01
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved. Page 204 of
228
#SCFG - Socket Configuration
<connId>,<cid>,
<pktSz>,<maxTo>,
<connTo>,<txTo>
Parameters:
<connId> - socket connection identifier
1..6
<cid> - PDP context identifier
1..5 - 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 – select automatically default value
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
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.
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.
0 - no timeout
1..255 - 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>
<CR><LF>
. . .
#SCFG: <connId6>,<cid6>,<pktsz6>,<maxTo6>,<connTo6>,<txTo6>
<CR><LF>
AT#SCFG=?
Test command returns the range of supported values for all the subparameters.
Example at#scfg?
#SCFG: 1,1,300,90,600,50
#SCFG: 2,2,300,90,600,50
#SCFG: 3,2,250,90,600,50
#SCFG: 4,1,300,90,600,50
#SCFG: 5,1,300,90,600,50
#SCFG: 6,1,300,90,600,50
OK
3.5.5.2.6. Socket Configuration Extended - #SCFGEXT
#SCFGEXT - Socket Configuration Extended