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 12 / 52
Example
2.2.2. AT+QIACT Activate a PDP Context
Before activating a PDP context via AT+QIACT, the context should be configured by AT+QICSGP. After
activation, the IP address can be queried via AT+QIACT?. Although the range of <contextID> is 116, the
module supports maximum three PDP contexts activated simultaneously under LTE Cat M/EGPRS and
maximum two under LTE Cat NB1. Depending on the network, it may take at most 150 seconds to return
OK or ERROR after executing AT+QIACT. Before the response is returned, other AT commands cannot
be executed.
<password> String type. Password.
<authentication> Integer type. Authentication methods.
0 None
1 PAP
2 CHAP
3 PAP or CHAP
AT+QICSGP=1 //Query the configuration of context 1.
+QICSGP: 1,"","","",0
OK
AT+QICSGP=1,1,"UNINET","","",1 //Configure context 1. APN is "UNINET" for China Unicom.
OK
AT+QIACT Activate a PDP Context
Test Command
AT+QIACT=?
Response
+QIACT: (range of supported <contextID>s)
OK
Read Command
AT+QIACT?
Response
Return the list of the current activated contexts and their IP
addresses:
+QIACT: 1,<context_state>,<context_type>,<IP_address>
[.....
+QIACT: 16,<context_state>,<context_type>,<IP_addres
s>]
OK
Write Command
Activate a specified PDP context
AT+QIACT=<contextID>
Response
OK

Table of Contents

Related product manuals