beautypg.com

5 socket configuration - #scfg – Rainbow Electronics GM862-QUAD-PY User Manual

Page 319

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

3.5.7.3.5 Socket Configuration - #SCFG

#SCFG - Socket Configuration

SELINT 2

AT#SCFG=
,,
,,
,

Set command sets the socket configuration parameters.

Parameters:
- socket connection identifier
1..6
- PDP context identifier
0 - specifies the GSM context
1..5 - numeric parameter which specifies a particular PDP context

definition

- packet size to be used by the TCP/UDP/IP stack for data
sending.
0 - automatically chosen by the device.
1..1500 - packet size in bytes.
- exchange timeout (or socket inactivity timeout); 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.)
- 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)
- data sending timeout; after this period data are sent also if they’re

less than max packet size.

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: ,,,,,

. . .
#SCFG: ,,,,,


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