EasyManua.ls Logo

Quectel BG95 Series - Evaluation Board

Quectel BG95 Series
57 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
LPWA Module Series
BG95&BG77&BG600L Series TCP/IP Application Note
BG95&BG77&BG600L_Series_TCP/IP_Application_Note 19 / 56
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.
If <service_type> is "TCP LISTENER" or "UDP SERVICE", specify this parameter
as 0.
<local_port>
Integer type. Local port number. Range: 065535.
If <service_type> is "TCP LISTENER" or "UDP SERVICE", this parameter must be
specified. Range: 165535.
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.
<access_mode>
Integer type. Data access mode of the socket service.
0 Buffer access mode
1 Direct push mode
2 Transparent transmission mode
<result>
Integer type. Result code of the operation. See Chapter 4 for details.
AT+QICLOSE Close a Socket Service
Test Command
AT+QICLOSE=?
Response
+QICLOSE: (range of supported <connectID>s),(range of
supported <timeout>s)
OK
Write Command
AT+QICLOSE=<connectID>[,<timeou
t>]
Response
If the socket service is closed successfully:
OK
If it is failed to close the socket service:
ERROR
Maximum Response Time
Determined by <timeout>
Characteristics
/

Table of Contents

Other manuals for Quectel BG95 Series

Related product manuals