EasyManua.ls Logo

Quectel BG95 Series - Network Status Indication

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 48 / 56
3.8.2. Send UDP Data to Remote Client
3.8.3. Retrieve Data from Remote Client
+QIURC: "recv",2 //Received data from the remote client.
AT+QIRD=2 //Retrieve UDP data. One whole UDP packet will be outputted.
There is no need to specify the read length.
+QIRD: 4,"10.7.76.34",7687 //The retrieved data length is 4 bytes. The IP address of the
remote client is 10.7.76.34 and the port is 7687.
AAAA
OK
AT+QIRD=2 //Retrieve data.
+QIRD: 0 //No data in buffer.
OK
AT+QISEND=2,10,"10.7.76.34",7687 //Send data to the remote client whose IP is 10.7.76.34 and the
port is 7687.
>1234567890
SEND OK
3.8.4. Close a UDP Service
3.9. UDP Service under IPv6 Network
3.9.1. Start a UDP Service
AT+QISEND=2,10,"10.7.89.10",6969 //Send 10 bytes data to a remote client whose IP is 10.7.89.10
and the port is 6969.
>1234567890
SEND OK
AT+QICLOSE=2 //Close the service.
OK
//Start a UDP service whose <connectID> is 2 and <context> is 1. Before using AT+QIOPEN, the host
should activate the context with AT+QIACT first.
AT+QIOPEN=1,2,"UDP SERVICE","0:0:0:0:0:0:0:1",0,12345,0
OK

Table of Contents

Other manuals for Quectel BG95 Series

Related product manuals