At+Cgact Pdp Context Activation/Deactivation - Quectel BC26 Manual

Nb-iot module
Table of Contents

Advertisement

2.13. AT+CGACT PDP Context Activation/Deactivation

The execution command is used to activate or deactivate the specified PDP context (s). After the
command has completed, the MT remains in V.250 command state. If any PDP context is already in the
requested state, the state for that context remains unchanged.
If the UE is not PS attached when the activation form of the command is executed, the UE first performs a
PS attach and them attempts to activate the specified contexts.
Note that in the 27.007 specification there is the following statement:
For EPS, if an attempt is made to disconnect the last PDN connection, then the UE responds with
ERROR or, if extended error responses are enabled, a +CME ERROR.
This applies when use of CID0 is enabled for the PDN connection activated during attach. In fact, entering
AT+CGACT=<0 or 1>,0 will generate ERROR response.
If CID0 mode is not enabled then it is possible to enter the AT+CGACT command to deactivate the last
PDN connection from the point of view of the middleware. When the user uses AT+CGACT to disconnect
the last PDN connection the following occurs:
The PDN connection is preserved in the protocol stack
The PDN connection is disconnected at the middleware, so the <cid> for the PDN connection is
marked as deactivated
OK response is returned rather than ERROR
For EPS, the activation request for an EPS bearer resource will be answered by the network by either an
EPS dedicated bearer activation or EPS bearer modification request. The request must be accepted by
the UE before the PDP context can be set in to established state.
If no <cid>s are specified the activation form of the command activates all defined contexts.
If no <cid>s are specified the deactivation form of the command deactivates all active contexts.
The read command returns the current activation states for all the defined PDP contexts.
The test command is used for
AT+CGACT PDP Context Activation/Deactivation
Write Command
AT+CGACT=[<state>[,<cid>[,<cid>[,...
]]]]
BC26_AT_Commands_Manual
requesting information on
Response
OK
If there is any error, response:
+CME ERROR:<err>
BC26 AT Commands Manual
the supported PDP context activation states.
NB-IoT Module Series
29 / 73

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents