EasyManua.ls Logo

Quectel BG96 TCP/IP

Quectel BG96 TCP/IP
53 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
BG96 TCP/IP Application Note
BG96_TCP/IP_Application_Note 20 / 52
Parameter
2.2.8. AT+QIRD Retrieve the Received TCP/IP Data
In buffer access mode, after receiving data, the module will buffer it and report +QIURC:
"recv",<connectID>, then the data can be retrieved by AT+QIRD.
Please note that if the buffer is not empty, and the module receives data again, it will not report a new
URC until all the received data are retrieved via AT+QIRD from buffer.
Write Command
When <send_length> is 0, query the
sent data
AT+QISEND=<connectID>,0
Response
If the specified <connectID> connection exists:
+QISEND: <total_send_length>,<ackedbytes>,<unackedb
ytes>
OK
If there is any error:
ERROR
Maximum Response Time
120 s, determined by network.
Characteristics
/
<connectID> Integer type. Socket service index. Range: 011.
<send_length> Integer type. Length of the data to be sent, which cannot exceed 1460 bytes.
<remoteIP> String type. Remote IP address (must be dot format). It is only valid when
<service_type> is "UDP SERVICE".
<remote_port> Integer type. Remote port. It is only valid when <service_type> is "UDP
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.
<err> Integer type. Error code of operation. Please refer to Chapter 4.
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" or
Response
If the specified connection has received data:

Table of Contents

Related product manuals