G5/G6-Family AT Commands User Manual Page
The following table shows the +CGACT parameters.
Indicates the activation state of the context:
0 Non-active
1 Active
1-2 A numeric parameter that specifies a particular PDP context definition
Example:
AT+CGACT=?
+CGACT: (0,1)
OK
AT+CGACT?
OK
AT+CGACT=1
ERROR //GPRS network not present.
Note:
In some GPRS networks, +CGACT is not supported. The ATD*99 # command can be used to
Activating a context can take up to 150 seconds.
Deactivating a context can take up to 40 seconds.
When aborting a +CGACT Set command, the context is closed. This can take up to 40 seconds
12.2.8+CGPADDR, GPRS Addresses
This command reads the allocated PDP addresses for the specified context identifiers.
AT+CGPADDR=
[<cid>[,<cid>[,]]]
+CGPADDR:
<cid>,<PDP_addr>[<CR><LF>
+CGPADDR:
<cid>,<PDP_addr>[…]]
OK
or:
+CME ERROR: <err
The Set command returns a
list of PDP addresses for the
specified context identifiers.