Specifications
Chapter 10 – Internet Service Commands
Multi-Tech Systems, Inc. AT Commands for EDGE Modems (S000371B) 137
10.4 AT^SISC Internet Service Close
Description: The AT^SISC write command performs all necessary action to release all properties
activated by AT^SISO.
Test Command Syntax: AT^SISC=?
Response: OK
Write Command Syntax: AT^SISC=<srvProfileId>[, <closeMode>]
Response: OK
ERROR
+CME ERROR: <err>
Parameter Descriptions:
<srvProfileId>
<srvProfileId> 0 ... 9 specified with AT^SISS.
<closeMode>
Specifies the mode to close an Internet connection. The selected mode’s effect depends on the type of service.
0 Graceful. Default.
1 Immediate
10.4.1 Effect of Parameter <closeMode>
Service
Type
Graceful Immediate
Socket TCP/IP connection will be closed after the
transmission of remaining data has completed.
TCP/IP connection will be closed
immediately. All remaining data are lost.
FTP FTP upload:
The “OK” response following the command
AT^SISC=<srvProfileId>,<close-Mode> indicates
that the FTP service has accepted the close
command - it DOES NOT indicate the successful
completion of the FTP service close procedure.
Successful completion will be indicated by the
appropriate URC “^SISW: x,2”. The host
application can force a service shutdown
(<closeMode>= 1) if the aforementioned URC
doesn’t occur after a user defined timeout.
FTP download:
Same as <closeMode> immediate: TCP/IP
connection is closed immediately.
TCP/IP connection is closed immediately.
All remaining data is lost.
HTTP TCP/IP connection is closed immediately. TCP/IP connection is closed immediately.
SMTP The SMTP service sends some “closing”
commands which are necessary to mark the
email as successfully sent on the server. The
service enters the <srvState> “Closing” and
remains in this state until the final protocol
exchange with the SMTP server has completed.
The “OK” response following the command
AT^SISC=<srvProfileId>,<close-Mode> indicates
that the SMTP service has accepted the close
command - it DOES NOT indicate the successful
completion of the SMTP service close procedure.
Successful completion will be indicated by the
appropriate URC “^SISW: x,2”. The host
application can force a service shutdown
(<close-Mode>= 1) if the aforementioned URC
doesn’t occur after a user defined timeout.
The SMTP service closes the TCP/IP
connection immediately. Email transfer is
aborted. This mode can be used to cancel
an SMTP operation.
POP3 Same as <closeMode> immediate: The TCP/IP
connection is closed immediately.
The TCP/IP connection is closed
immediately.
Once the last service has been closed the bearer shuts down after a timeout of 20 seconds (i.e., the connection
profile GPRS0 or CSD is closed). If a service related to the same connection profile starts up again within this
time frame, the bearer will not be closed, but started again. This speeds up the handling of several service
requests. Within this time frame it is neither possible to change the bearer type (from GPRS to CSD or vice
versa) nor to start a service based on a different connection profile.
To disconnect the bearer before the timeout expires the command AT+CGATT=0 can be used in the case of
GPRS and ATH in the case of CSD.