LE910-SKG AT commands reference guide
80437ST10619A Rev.1 – 2014-09-16
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 181 of 273
#SGACT - Context Activation
<userId>
- string type, used only if the context requires it
<pwd>
- string type, used only if the context requires it
Note: context activation/deactivation returns ERROR if there is not any socket
associated to it (see AT#SCFG).
Note: In LTE network, default PDP context(cid 1) is automatically activated by
piggybacking on LTE attach procedure for Always-on IP connectivity. If an attempt
is made to disconnect last PDP conection(cid), MT is just unbinding application to
the the last PDP context.
AT#SGACT?
Returns the state of all the five contexts activated or deactivated by the execution
command, in the format:
#SGACT: <cid1>,<Stat1><CR><LF>
…
#SGACT: <cid5>,<Stat5>
where:
<cid
n
>
- as
<cid>
before
<stat
n
>
- context status
0 - context deactivated
1 - context activated
AT#SGACT=?
Reports the range for the parameters
<cid>
and
<stat>
#SH - Socket Shutdown
AT#SH=<connId>
This command is used to close a socket.
Parameter:
<connId>
- socket connection identifier
1..6
Note: a socket connection can be closed only when it is in suspended mode (with
pending data too) and incoming connection mode. Trying to close an active socket
connection produce a error and to close a closed socket or a listening socket
produce
OK
response without any action.
AT#SH=?
Test command returns the
OK
result code.
#SCFG - Socket Configuration
AT#SCFG=
<connId>,<cid>,
<pktSz>,<maxTo>,
<connTo>,<txTo>
Set command sets the socket configuration parameters.
Parameters:
<connId>
- socket connection identifier
1..6
<cid>
- PDP context identifier
Summary of Contents for LE910-SKG
Page 1: ......