Specifications

Command Reference
Rev 3.2 Oct.05 63
+CGACT=
<state>,<cid>
+CGACT?
+CGACT=?
Note: The Sierra
Wireless modem permits
only one PDP context to
be active at a time.
GPRS PDP context activation/deactivation
In GPRS packet data mode, the +CGACT command activates (<state>=1) or
deactivates (<state>=0) the specified Packet Data Protocol (PDP) context, then
returns the modem to command state.
<cid> (the PDP Context Identifier) is a numeric parameter which specifies a
particular PDP context definition. +CGACT=? returns the permitted values. (See
also +CGPADDR on page 70.)
Details
If the specified PDP context is already in the requested state, the state for
that context remains unchanged.
If the requested state cannot be achieved, the modem returns an error.
(Extended error responses are enabled by the +CMEE command, page 76.)
If the modem is not GPRS-attached when instructed to activate, it attempts
to perform a GPRS attach first. (See page 63.)
If no <cid> is specified, the command either activates the default PDP
context, or deactivates the active one, as appropriate.
+CGACT? returns the current activation state for the PDP context, while
+CGACT=? requests information on the supported PDP context activation
states.
+CGATT=<state>
+CGATT?
GPRS attach or detach
Attaches or detaches the Sierra Wireless modem from the GPRS network:
<state>=0 detaches from the GPRS network.
<state>=1 attaches to the GPRS network.
Any other values return an error.
Details
If the modem is already in the requested state, the command is ignored and
the modem returns an OK response.
Any active PDP contexts are deactivated before detaching from the GPRS
network.
The +CGATT? command returns the current GPRS-attach state of the
modem.
Table 3-9: Command Reference Table (ASCII Alphabetic)
Command Description