User's Manual

109
LZT 123 7361 R1A
6. Data - GPRS
6.1 AT+CGACT PDP Context Activate or Deactivate
Used to activate or deactivate the specified PDP context(s).
After the command has completed, the MS remains in V.250 command
state. If the MS is already in the requested state, the command is ignored
and OK is returned. If the requested state cannot be achieved, ERROR
or +CME: ERROR is returned. If the MS is not attached to the GPRS
service when the activation form of the command is executed, the MS
first performs a GPRS attach and then attempts to activate the specific
contexts.
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.
Description Command Possible Responses
Activate or deactivate
the specified PDP
context(s)
+CGACT=[<state>
[,<cid>[,<cid>[,…]]]]
+CME ERROR: <err>
•OK
•ERROR
Read the command +CGACT? •+CGACT: <cid>,
<state>[<CR><LF>
+CGACT: <cid>,
<state>[...]]
•OK
•ERROR
Test if the command is
supported
+CGACT=? +CGACT: (list of
supported <state>s)
•OK
•ERROR
<state> Description
0 PDP context activation deactivated
1 PDP context activation activated
<cid> Description
Integer type A numeric parameter which specifies a specific PDP
context definition