EasyManua.ls Logo

Quectel BG95 Series - STATUS Pin; Behaviors of RI

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 49 / 56
3.9.2. Send UDP Data to Remote Client
3.9.3. Receive Data from Remote Client
3.10. UDP Client with RAI Feature
3.10.1. Start a UDP Client
+QIOPEN: 2,0 //UDP service is opened successfully.
AT+QISTATE=0,1 //Query the connection status of context 1.
+QISTATE: 2,"UDP SERVICE","2001:468:2100:1:2001:468:2100:1",0,12345,2,1,2,0,"usbmodem"
OK
AT+QISEND=2,10,"2001:468:2100:1:0:0:0:0",5001 //Send 10 bytes data to a remote client whose
IP is 2001:468:2100:1:0:0:0:0 and the port is
5001.
>1234567890
SEND OK
+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,"2001:468:2100:1:0:0:0:0",5001 //The retrieved data length is 4 bytes. The IP address of
the remote client is 2001:468:2100:1:0:0:0:0 and the port
is 5001.
AAAA
OK
AT+QIRD=2 //Retrieve data.
+QIRD: 0 //No data in buffer.
OK
//Start a UDP client whose <connectID> is 0 and <context> is 1. Before using AT+QIOPEN, the host
should activate the context with AT+QIACT first.
AT+QIOPEN=1,0,"UDP","220.180.239.212",8009
OK

Table of Contents

Other manuals for Quectel BG95 Series

Related product manuals