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 194 of
229
3.5.5.1.72.
Socket TCP Connection Time-Out - #SKTCT
#SKTCT - Socket TCP Connection Time-Out
AT#SKTCT=
[<tout>]
Set command sets the TCP connection time-out for the first
CONNECT
answer
from the TCP peer to be received.
Parameter:
<tout>
- TCP first
CONNECT
answer time-out in 100ms units
10..1200 - hundreds of ms (factory default value is 600).
Note: this time-out applies only to the time that the TCP stack waits for the
CONNECT
answer to its connection request.
Note: The time for activate the GPRS and resolving the name with the DNS query
(if the peer was specified by name and not by address) is not counted in this time-
out.
AT#SKTCT?
Read command reports the current TCP connection time-out.
AT#SKTCT=?
Test command returns the allowed values for parameter
<tout>
.
Example AT#SKTCT=600
OK
socket first connection answer time-out has been set to 60 s.
AT#SKTCT=
OK
If there is no time-out value, set by default(60s).
3.5.5.1.73.
Socket Parameters Save - #SKTSAV
#SKTSAV - Socket Parameters Save
AT#SKTSAV
Execution command saves the actual socket parameters in the NVM of the device.
The socket parameters to store are:
-
User ID
-
Password
-
Packet Size
-
Socket Inactivity Time-Out
-
Data Sending Time-Out
-
Socket Type (UDP/TCP)
-
Remote Port
-
Remote Address
-
TCP Connection Time-Out
AT#SKTSAV=?
Test command returns the
OK
result code.
Example AT#SKTSAV
OK
socket parameters have been saved in NVM
Note
If some parameters have not been previously specified then a default value will be
stored.