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 39 / 52
3.3.2. Send Data in Buffer Access Mode
3.3.3. Receive Data from Remote Server in Buffer Access Mode
AT+QISEND=0 //Send variable-length data.
>test1<ctrl+Z>
SEND OK //SEND OK does not mean the data has been sent to the server
successfully. The host can query whether the data has reached the
server via AT+QISEND=0,0.
AT+QISEND=0,4 //Send fixed-length data and the data length is 4 bytes.
>test
SEND OK
AT+QISEND=0,0 //Query the length of sent data, acknowledged data and
unacknowledged data.
+QISEND: 9,9,0
OK
AT+QISENDEX=0,"3132333435" //Send Hex string data.
SEND OK
AT+QISEND=0,0 //Query the length of sent data, acknowledged data and
unacknowledged data.
+QISEND: 14,14,0
OK
+QIURC: "recv",0 //<connectID> 0 has received data.
AT+QIRD=0,1500 //Retrieve the data. The maximum length of data to be retrieved is 1500
bytes.
+QIRD: 5 //The length of actually retrieved data is 5 bytes.
test1
OK
AT+QIRD=0,1500
+QIRD: 0 //No data in buffer.
OK
AT+QIRD=0,0 //Query the total length of received data, including read and unread data.
+QIRD: 5,5,0
OK

Table of Contents

Related product manuals