If <service_type> is "TCP LISTENER" or "UDP SERVICE", specify this parameter
as 0.
<local_port>
Integer type. Local port number. Range: 0–65535.
If <service_type> is "TCP LISTENER" or "UDP SERVICE", this parameter must be
specified. Range: 1–65535.
If <service_type> is "TCP" or "UDP", this parameter can be omitted and the
default value is 0. The local port will be assigned automatically if <local_port> is 0.
Otherwise the local port is assigned as specified.
Integer type. Data access mode of the socket service.
<access_mode>
0
1
2
<result>
Integer type. Result code of the operation. See Chapter 4 for details.
NOTES
1.
Only one socket service can be set to transparent transmission mode at a time.
2.
If <service_type> is "TCP LISTENER", <access_mode> cannot be specified to transparent
transmission mode directly. When a remote client connects to this server, AT+QSWTMD can be used
to switch the incoming connection to transparent transmission mode.
2.3.5. AT+QICLOSE Close a Socket Service
This command closes a specified socket service. Depending on the network, it takes at most 10 seconds
(default value, can be modified by <timeout>) to return OK or ERROR after executing AT+QICLOSE.
Before the response is returned, other AT commands cannot be executed.
AT+QICLOSE Close a Socket Service
Test Command
AT+QICLOSE=?
Write Command
AT+QICLOSE=<connectID>[,<timeou
t>]
Maximum Response Time
Characteristics
BG95&BG77&BG600L_Series_TCP/IP_Application_Note
BG95&BG77&BG600L Series TCP/IP Application Note
Buffer access mode
Direct push mode
Transparent transmission mode
Response
+QICLOSE: (range of supported <connectID>s),(range of
supported <timeout>s)
OK
Response
If the socket service is closed successfully:
OK
If it is failed to close the socket service:
ERROR
Determined by <timeout>
/
LPWA Module Series
19 / 56
Need help?
Do you have a question about the BG95 Series and is the answer not in the manual?