3 context activation - #sgact – Rainbow Electronics GM862-QUAD-PY User Manual
Page 317

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 317 of 434
#SI - Socket Info
SELINT 2
the value <ack_waiting> is always 0 for UDP connections.
Note: issuing #SI<CR> causes getting information about data traffic of all
the sockets; the response format is:
#SI: <connId1>,<sent1>,<received1>,<buff_in1>,<ack_waiting1>
<CR><LF>
…
#SI: <connId6>,<sent6>,<received6>,<buff_in6>,<ack_waiting6>
AT#SI=?
Test command reports the range for parameter <connId>.
Example
AT#SI
#SI: 1,123,400,10,50
#SI: 2,0,100,0,0
#SI: 3,589,100,10,100
#SI: 4,0,0,0,0
#SI: 5,0,0,0,0
#SI: 6,0,98,60,0
OK
Sockets 1,2,3,6 are opened with some data traffic.
For example socket 1 has 123 bytes sent, 400 bytes received,
10 byte waiting to be read and 50 bytes waiting to be
acknowledged from the remote side.
AT#SI=1
#SI: 1,123,400,10,50
OK
We have information only about socket number 1
3.5.7.3.3 Context Activation - #SGACT
#SGACT - Context Activation
SELINT 2
AT#SGACT=<cid>,
<stat>[,<userId>,
<pwd>]
Execution command is used to activate or deactivate either the GSM
context or the specified PDP context.
Parameters:
<cid> - PDP context identifier
0 - specifies the GSM context
1..5 - numeric parameter which specifies a particular PDP context
definition
<stat>
0 - deactivate the context
1 - activate the context