11 socket tcp connection time-out - #sktct – Rainbow Electronics GM862-QUAD-PY User Manual

Page 344

Advertising
background image




AT Commands Reference Guide

80000ST10025a Rev. 5 - 09/07/08

Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved

page 344 of 434

3.5.7.5.11 Socket TCP Connection Time-Out - #SKTCT

#SKTCT - Socket TCP Connection Time-Out

SELINT 0 / 1

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.

Note: if parameter is omitted then the behaviour of Set command is the
same as Read command.

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.


#SKTCT - Socket TCP Connection Time-Out

SELINT 2

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.

Note: this command is not allowed for sockets associated to a GSM context
(see #SCFG).

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.

Advertising