4 socket shutdown - #sh – Rainbow Electronics GM862-QUAD-PY User Manual
Page 318

AT Commands Reference Guide
80000ST10025a Rev. 5 - 09/07/08
Reproduction forbidden without Telit Communications S.p.A. written authorization - All Rights Reserved
page 318 of 434
#SGACT - Context Activation
SELINT 2
Note: context activation/deactivation returns ERROR if there is not any
socket associated to it (see AT#SCFG).
Note: after the GSM context has been activated, you can use either
Multisocket, or FTP or Email AT commands to send/receive TCP/IP packets
via GSM.
Note: to deactivate the GSM context, AT#SGACT=0,0 has to be issued on
the same serial port used when the context was activated.
Note: GSM context activation is affected by AT+CBST command. In
particular, GSM context activation is just allowed with “non transparent” data
calls.
Note: activating a GSM context while a PDP context is already activated
causes the PDP context to be suspended.
Note: if GSM context is active, it is not allowed any PDP context activation.
AT#SGACT?
Returns the state of all the contexts that have been defined through the
commands +CGDCONT or #GSMCONT
#SGACT:
…
#SGACT:
where:
0 - context deactivated
1 - context activated
AT#SGACT=?
Test command reports the range for the parameters
Note
It is strongly recommended to use the same command (e.g. #SGACT) to
activate the context, deactivate it and interrogate about its status.
3.5.7.3.4 Socket Shutdown - #SH
#SH - Socket Shutdown
SELINT 2
AT#SH=
This command is used to close a socket.
Parameter:
1..6
AT#SH=?
Test command reports the range for parameter