6 socket configuration extended - #scfgext – Rainbow Electronics GM862-QUAD-PY User Manual

Page 320

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

#SCFG - Socket Configuration

SELINT 2

#SCFG: 6,1,300,90,600,50

OK

3.5.7.3.6 Socket Configuration Extended - #SCFGEXT

#SCFGEXT - Socket Configuration Extended

SELINT 2

AT#SCFGEXT=
<connId>,
<srMode>,
<dataMode>,
<keepalive>
[,<unused_A>
[,<unused_B>]]

Set command sets the socket configuration extended parameters.

Parameters:
<connId> - socket connection identifier
1..6
<srMode> - SRing URC mode
0 - normal mode (default):

SRING : <connId>
where:
<connId> - socket connection identifier, as before

1 - data amount mode:

SRING : <connId>,<recData>
where:
<connId> - as before
<recData> - amount of data received on the socket connection

2 - data view mode:

SRING : <connId>,<recData>,<data>
where:
<connId> -
<recData> - as before
<data> - received data; the presentation format depens on the

subparameter <dataMode> value

<dataMode> - “data view mode” presentation format
0 - data represented as text (default)
1 - data represented as sequence of hexadecimal numbers (from 00 to FF)
<keepalive> - TCP keepalive timer timeout
0 - TCP keepalive timer is deactivated (default)
1..240 - TCP keepalive timer timeout in minutes
<unused_A> - currently not used
0 - reserved for future use
<unused_B> - currently not used
0 - reserved for future use

Note: <keepalive> has effect only on TCP connections.
Note: these values are automatically saved in NVM.

AT#SCFGEXT?

Read command returns the current socket extended configuration
parameters values for all the six sockets, in the format:

#SCFGEXT: <connId1>,<srMode1>,<dataMode1>,<keepalive1>,

Advertising