Specifications
UC864-E/G/WD/WDU AT Commands Reference Guide
80304ST10041a Rev. 7 - 2010-10-14
Reproduction forbidden without Telit Communications S.p.A’s. written authorization - All Rights Reserved. Page 245 of 318
#SI - Socket Info
We have information only about socket number 1
3.5.7.2.3. Context Activation - #SGACT
#SGACT - Context Activation
AT#SGACT=<cid>,
<stat>[,<userId>,
<pwd>]
Execution command is used to activate or deactivate the specified PDP
context.
Parameters:
<cid> - PDP context identifier
1..5 - numeric parameter which specifies a particular PDP context
definition
<stat>
0 - deactivate the context
1 - activate the context
<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).
AT#SGACT? Returns the state of all the five contexts, 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>
Note It is strongly recommended to use the same command (e.g. #SGACT) to
activate the context, deactive it and interrogate about its status.
3.5.7.2.4. Socket Shutdown - #SH
#SH - Socket Shutdown
AT#SH=<connId> This command is used to close a socket.










