The following table shows the +CGACT parameters.
<Parameter>
Description
<state>
Indicates the activation state of the context:
0 Non-active
1 Active
<cid>
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
establish a connection.
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.
Command
Syntax
Set
AT+CGPADDR=
[<cid>[,<cid>[,]]]
G5/G6-Family AT Commands User Manual
Response/Action
+CGPADDR:
<cid>,<PDP_addr>[<CR><LF>
+CGPADDR:
<cid>,<PDP_addr>[...]]
OK
or:
+CME ERROR: <err
Remarks
The Set command returns a
list of PDP addresses for the
specified context identifiers.
Page 197 of 243