Cgans – Multi-Tech Systems MMCModem GPRS (MTMMC-G) User Manual
Page 165

Chapter 15 – GPRS Commands
Multi-Tech Systems, Inc. Wireless GSM/GPRS AT Commands (Document Number S000293I)
165
Manual Response to a Network Request for PDP
Context Activation +CGANS
Description:
The execution command requests the modem to respond to a network request for GPRS PDP context
activation which has been signalled to the DTE by the RING or +CRING: unsolicited result code. The
If
If
PDP context activation procedures take place prior to or during the PDP startup.
One
During the PDP startup procedure the modem has the PDP type and the PDP address provided by the
network in the Request PDP Context Activation message.
If a
request as follows -
The PDP type must match exactly.
The PDP addresses are considered to match if they are identical or if the address in the context
definition is unspecified. If any of this information is in conflict, the command will fail.
The context is activated using the values for PDP type and PDP address provided by the network,
together with the other information found in the PDP context definition. An APN may or may not be
required, depending on the application.
If no
PDP address provided by the network, together with any other relevant information known to the
modem. The other context parameters will be set to their default values.
If the activation is successful, data transfer may proceed.
After data transfer is complete, and the layer 2 protocol termination procedure has completed
successfully, the V.25ter command state is re-entered and the modem returns the final result code OK.
In the event of an erroneous termination or a failure to startup, the V.25ter command state is re-entered
and the modem returns the final result code NO CARRIER or, if enabled, +CME ERROR. Attach,
activate and other errors may be reported. It is also an error to issue the +CGANS command when
there is no outstanding network request.
This command may be used in both normal and modem compatibility modes.
Values:
A numeric parameter which specifies how the request should be responded to.
0
reject the request
1
accept and request that the PDP context be activated
If
ERROR response.
Syntax: Command
Syntax:
AT+CGANS
Command
Possible response(s)
AT+CGANS=[
[
OK
ERROR
AT+CGANS=?
+CGANS: (list of supported
OK
Example:
+CRING: GPRS "IP", "122.41.74.238"
AT+CGANS=1
CONNECT
AT+CGANS=?
+CGANS= (0-1)
OK