At+Qiact Activate A Pdp Context - Quectel BG96 TCP/IP Application Note

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

Advertisement

<password>
<authentication>
Example
AT+QICSGP=1
+QICSGP: 1,"","","",0
OK
AT+QICSGP=1,1,"UNINET","","",1
OK

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 1–16, 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.
AT+QIACT Activate a PDP Context
Test Command
AT+QIACT=?
Read Command
AT+QIACT?
Write Command
Activate a specified PDP context
AT+QIACT=<contextID>
BG96_TCP/IP_Application_Note
String type. Password.
Integer type. Authentication methods.
0
None
1
PAP
2
CHAP
3
PAP or CHAP
//Query the configuration of context 1.
//Configure context 1. APN is "UNINET" for China Unicom.
Response
+QIACT: (range of supported <contextID>s)
OK
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
Response
OK
LPWA Module Series
BG96 TCP/IP Application Note
12 / 52

Advertisement

Table of Contents
loading

Table of Contents