Cgact, Pdp Context Activate Or Deactivate - Motorola G24 Guide Developer's Manual

At commands
Hide thumbs Also See for G24 Guide:
Table of Contents

Advertisement

+CGACT, PDP Context Activate or Deactivate

This command activates/deactivates the specified PDP context(s).
Command
Type
Set
Read
Test
The following table shows the +CGACT parameters.
<Parameter>
<state>
<cid>
December 31, 2007
Syntax
Response/Action
AT+CGACT=[<state>
OK
[,<cid>
or:
[,<cid>[,]]]]
NO CARRIER
or:
+CME ERROR: <err>
AT+CGACT?
+CGACT: <cid>,
<state>
<CR><LF>+CGACT:
<cid>, <state>
<CR><LF>+CGACT:
<cid>, <state>
OK
AT+CGACT=?
+CGACT: (list of
supported <state>s)
OK
or:
+CME ERROR: <err>
Table 3-221: +CGACT Parameters
Indicates the activation state of the context:
0
Non-active
1
Active
1-3
A numeric parameter that specifies a particular PDP context definition
AT Commands Reference Manual
Chapter 3: AT Commands Reference
Remarks
The Set command
activates/deactivates the specified PDP
context(s). When the command is
completed, the ME remains in V.25
command state. If any PDP context is
already in the requested state, the state
for that context remains unchanged. If
the requested state for any specified
context cannot be achieved, an
ERROR or +CME ERROR response is
returned. Extended error responses are
enabled by the +CMEE command. If
the ME is not GPRS-attached when the
activation form of the command is
executed, the ME first performs a
GPRS attach and them attempts to
activate the specified contexts. If the
attach fails, the ME responds with an
ERROR or, if extended error responses
are enabled, with the appropriate
failure-to-attach error message.
The Read command returns the current
activation states for all the defined
PDP contexts.
The Test command requests
information on the supported PDP
context activation states.
Description
3-335

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents