Examples; Configure And Activate A Context; Configure A Context; Activate A Context - Quectel BG96 TCP/IP Application Note

Lpwa module
Hide thumbs Also See for BG96 TCP/IP:
Table of Contents

Advertisement

3

Examples

3.1. Configure and Activate a Context

3.1.1. Configure a Context

AT+QICSGP=1,1,"UNINET","","",1
OK

3.1.2. Activate a Context

AT+QIACT=1
OK
AT+QIACT?
+QIACT: 1,1,1,"10.7.157.1"
OK

3.1.3. Deactivate a Context

AT+QIDEACT=1
OK

3.2. TCP Client Works in Buffer Access Mode under IPv4

3.2.1. Set up a TCP Client Connection and Enter Buffer Access Mode

AT+QIOPEN=1,0,"TCP","220.180.239.212",8009,0,0
BG96_TCP/IP_Application_Note
//Configure context 1. APN is "UNINET" for China Unicom.
//Activate context 1. Depending on the network, the
maximum response time is 150 s.
//Activated the context successfully.
//Query the context state, protocol type and IP address of
context 1.
//Deactivate context 1.
//Deactivated the context successfully. Depending on the
network, the maximum response time is 40 s.
//Context is 1 and <connectID> is 0. Before
using AT+QIOPEN, the host should activate
the context with AT+QIACT first.
LPWA Module Series
BG96 TCP/IP Application Note
36 / 53

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the BG96 TCP/IP and is the answer not in the manual?

Questions and answers

Table of Contents

Save PDF