EasyManua.ls Logo

Quectel BG95 Series - AT+QIRD Retrieve the Received TCP;IP Data

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 24 / 56
2.3.8. AT+QIRD Retrieve the Received TCP/IP Data
In buffer access mode, after receiving data, the module buffers it and reports +QIURC:
"recv",<connectID>[,<data_len>], then the data can be retrieved 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.
SERVICE".
<total_send_length>
Integer type. Total length of sent data. Unit: byte.
<ackedbytes>
Integer type. Total length of acknowledged data. Unit: byte.
<unackedbytes>
Integer type. Total length of unacknowledged data. Unit: byte.
AT+QIRD Retrieve the Received TCP/IP Data
Test Command
AT+QIRD=?
Response
+QIRD: (range of supported <connectID>s),(range of
supported <read_length>s)
OK
Write Command
When <service_type> is "TCP", "UDP"
or "TCP INCOMING"
AT+QIRD=<connectID>[,<read_lengt
h>]
Response
If the specified connection has received the data:
+QIRD: <read_actual_length><CR><LF><data>
OK
If there is no data:
+QIRD: 0
OK
If the connection does not exist:
ERROR
Write Command
When <service_type> is "UDP
SERVICE"
AT+QIRD=<connectID>
Response
If the data exists:
+QIRD: <read_actual_length>,<remoteIP>,<remote_port>
<CR><LF><data>
OK
If there is no data:
+QIRD: 0
OK

Table of Contents

Other manuals for Quectel BG95 Series

Related product manuals