EasyManua.ls Logo

Quectel BG95 Series - (U)SIM Interface

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 40 / 56
3.2.2. Send Data in Buffer Access Mode
3.2.3. Retrieve Data from Remote Server in Buffer Access Mode
OK
+QIOPEN: 0,0 //TCP client connected successfully. It is suggested to wait for 150
seconds for the URC +QIOPEN: <connectID>,<result>. If the URC
cannot be received in 150 seconds, the host could use AT+QICLOSE to
close the socket.
AT+QISTATE=1,0 //Query connection status of socket service 1.
+QISTATE: 0,"TCP","220.180.239.212",8009,65514,2,1,0,0,"usbmodem"
OK
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 with 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 //A total of 9 bytes data has been sent, and the 9-byte data has
been acknowledged by the server.
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 //The <connectID> 0 has received data.
AT+QIRD=0,1500 //Retrieve the data, and the maximum length of data to be retrieved is
1500 bytes.
+QIRD: 5 //The length of actually retrieved data is 5 bytes.

Table of Contents

Other manuals for Quectel BG95 Series

Related product manuals