EasyManua.ls Logo

Quectel BG95 Series - QIURC: Recv Indicate Incoming Data; QIURC: Incoming Full Indicate Incoming Connection Reaches the Limit; QIURC: Incoming Indicate Incoming Connection

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 37 / 56
2.4.2. +QIURC: "recv" Indicate Incoming Data
In buffer access mode or direct push mode, after receiving data, the module reports a URC to the host.
In buffer access mode, after receiving data, the module reports +QIURC:
"recv",<connectID>[,<data_len>] to notify the host. Then host can retrieve data with AT+QIRD. Please
note that if the buffer is not empty, and the module receives data again, it does not report a new URC until
all the received data has been retrieved with AT+QIRD from the buffer.
In direct push mode, the received data is outputted to COM port directly.
Parameter
2.4.3. +QIURC: "incoming full" Indicate Incoming Connection Reaches the Limit
If the number of incoming connections reaches the limit, or no socket system resources can be allocated,
the module reports +QIURC: "incoming full" for the new incoming connection request.
2.4.4. +QIURC: "incoming" Indicate Incoming Connection
If <service_type> is "TCP LISTENER", when a remote client connects to this server, the host
automatically assigns a free <connectID> to the new connection, and the range of <connectID> is 011.
+QIURC: "recv" Indicate Incoming Data
+QIURC: "recv",<connectID>[,<data
_len>]
Indicating incoming data in buffer access mode. The host can
retrieve data with AT+QIRD.
+QIURC: "recv",<connectID>,<curre
ntrecvlength><CR><LF><data>
Indicating incoming data in direct push mode when the
<service_type> is "TCP", "UDP" or "TCP INCOMING".
+QIURC: "recv",<connectID>,<curre
ntrecvlength>,<remoteIP>,<remote_
port><CR><LF><data>
Indicating data incoming in direct push mode when
<service_type> is "UDP SERVICE".
<connectID>
Integer type. Socket service index. Range: 011.
<data_len>
Integer type. Data length. Unit: byte.
<currentrecvlength>
Integer type. Length of actually received data.
<remoteIP>
String type. Remote IP address.
<remote_port>
Integer type. Remote port number.
<data>
String type. Received data.
+QIURC: "incoming full" Indicate Incoming Connection Reaches the Limit
+QIURC: "incoming full"
Indicating the number of incoming connections reaches the limit.

Table of Contents

Other manuals for Quectel BG95 Series

Related product manuals