GSM/GPRS Module
M35
AT Commands Manual
M35
_AT_Commands_Manual Confidential / Released
126
/
186
1. Execution Command
AT+QICLOSE
:
If QISRVC is 1 (please refer to
AT+QISRVC
) and QIMUX is 0 (please refer to
AT+QIMUX
), this
command will close the connection in which the module is used as a client.
If QISRVC is 1 and QIMUX is 1, it will return
ERROR
.
If QISRVC is 2 and QIMUX equals 0 and the module is used as a server and some clients have
been connected to it, this command will close the connection between the module and the
remote client.
If QISRVC is 2 and QIMUX is 0 and the module is in listening state without any client, this
command will cause the module to quit the listening state.
If QISRVC is 2 and QIMUX is 1 and the module is used as a server, this command will close all
the income connection and cause the module to quit the listening state.
2. Write Command
AT+QICLOSE=<index>
:
This command is valid only if QIMUX is 1.
If QISRVC is 1 and QIMUX is 1, this command will close the corresponding connection
according to
<index>
and the module used as a client in the connection.
If QISRVC is 2 and QIMUX is 1, this command will close the incoming connection according to
<index>
.
3. If QISRVC is 1 and QIMUX is 0,
AT+QICLOSE
only closes the connection when the statue is
CONNECTING or CONNECT OK, otherwise respond with
ERROR
. After closing the connection, the
status is IP CLOSE.
11.4. AT+QIDEACT Deactivate GPRS/CSD PDP Context
was set as 1 (refer to
AT+QIMUX
). When
AT+QIMUX
was set as 0, the parameter MUST
be omitted
AT+QIDEACT Deactivate GPRS/CSD PDP Context
Test Command
AT+QIDEACT=?
Response
OK
Execution Command
AT+QIDEACT
Response
If close succeeds:
DEACT OK
If close fails:
ERROR
Reference
NOTES