4 data sending time-out - #dsto – Rainbow Electronics GM862-QUAD-PY User Manual

Page 335

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 335 of 434

#PKTSZ - Packet Size

SELINT 0 / 1

#PKTSZ: 300 ->value automatically chosen by device

OK


#PKTSZ - Packet Size

SELINT 2

AT#PKTSZ=
[<size>]

Set command sets the default packet size to be used by the TCP/UDP/IP
stack for data sending.

Parameter:
<size> - packet size in bytes
0 - automatically chosen by the device

1..1500 - packet size in bytes (factory default is 300)

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

AT#PKTSZ?

Read command reports the current packet size value.

Note: after issuing command AT#PKTSZ=0, the Read command reports the
value automatically chosen by the device.

AT#PKTSZ=?

Test command returns the allowed values for the parameter <size>.

Example

AT#PKTSZ=100

OK
AT#PKTSZ?
#PKTSZ: 100


OK
AT#PKTSZ=0
OK

AT#PKTSZ?
#PKTSZ: 300 ->value automatically chosen by device

OK

3.5.7.5.4 Data Sending Time-Out - #DSTO

#DSTO - Data Sending Time-Out

SELINT 0 / 1

AT#DSTO[=
[<tout>]]

Set command sets the maximum time that the module awaits before
sending anyway a packet whose size is less than the default one.

Parameter:
<tout> - packet sending time-out in 100ms units (factory default is 50)
0 - no time-out, wait forever for packets to be completed before send.
1..255 hundreds of ms

Note: In order to avoid low performance issues, it is suggested to set the
data sending time-out to a value greater than 5.

Advertising