Specifications
HE863 family AT commands reference guide
80377ST10083a Rev.4 – 2012-02-01
Reproduction forbidden without written authorization from Telit Communications S.p.A.- All Rights Reserved. Page 203 of
228
#SGACT - Context Activation
<stat>[,<userId>,
<pwd>]
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:
<cidn> - as <cid> before
<statn> - 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.5.2.4. Socket Shutdown - #SH
#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). Trying to close an active socket connection will produce an
error.
AT#SH=?
Test command reports the range for parameter <connId>.
3.5.5.2.5. Socket Configuration - #SCFG
#SCFG - Socket Configuration
AT#SCFG=
Set command sets the socket configuration parameters.