Specifications
UC864-E/G AT Commands Reference Guide
80304ST10041a Rev. 3 - 18/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved page 210 of 259
#DSTO -Data Sending Time-Out
#DSTO: 10
OK
3.5.7.4.5 Socket Inactivity Time-Out - #SKTTO
#SKTTO - Socket Inactivity Time-Out
AT#SKTTO=
[<tout>]
Set command sets the maximum time with no data exchanging on the
socket that the module awaits before closing the socket and deactivating
the GPRS context.
Parameter:
<tout> - socket inactivity time-out in seconds units
0 - no time-out.
1..65535 - time-out in sec. units (factory default is 90).
Note: this time-out applies when no data is exchanged in the socket for a
long time and therefore the socket connection has to be automatically
closed and the GPRS context deactivated.
AT#SKTTO? Read command reports the current socket inactivity time-out value.
AT#SKTTO=? Test command returns the allowed values for parameter <tout>.
Example
AT#SKTTO=30
OK
->(30 sec. time-out)
AT#SKTTO?
#SKTTO: 30
OK
3.5.7.4.6 Socket Definition - #SKTSET
#SKTSET - Socket Definition
AT#SKTSET=
[<socket type>,
<remote port>,
<remote addr>,
[<closure type>],
[<local port>]]
Set command sets the socket parameters values.
Parameters:
<socket type> - socket protocol type
0 - TCP (factory default)
1 - UDP
<remote port> - remote host port to be opened
0..65535 - port number (factory default is 0)
<remote addr> - address of the remote host, string type. This parameter
can be either:
- any valid IP address in the format: xxx.xxx.xxx.xxx
- any host name to be solved with a DNS query in the format: <host
name>