> 11.4 | AT+CGAUTO Automatic response to a network request for PDP context activation

> Syntax

> Test Command AT+CGAUTO=?
> Response(s)
> +CGAUTO: (list of supported <n>s)
> OK

> Read Command AT+CGAUTO?
> Response(s)
> +CGAUTO: <n>
> OK

> Write Command AT+CGAUTO=[<n>]
> Response(s)
> OK
> ERROR
> +CME ERROR

> Reference(s) |  | PIN |  | ASC0 | ASC1 | USB | MUX1 | MUX2 | MUX3 |  |  | Charge | Q | Last
> GSM 07.07 |  | + |  | + | + | + | + | + | + |  |  | - | - | -

> Command Description
> The test command returns the values of <n> supported by the MT as a compound value.
> The write command disables or enables an automatic positive response (auto-answer) to the receipt of a Request PDP Context Activation message from the network. It also provides control over the use of the V.250 basic commands ATS0, ATA and ATH for handling network requests for PDP context activation.
> Parameter Description

> <n>(num)

> 0
> Disable automatic response for network requests for GPRS PDP context activation. GPRS network requests are manually accepted or rejected by the AT+CGANS command.
> 1
> Enable automatic response for network requests for GPRS PDP context activation. GPRS requests are automatically accepted according to the description below.
> 3(&F)(P)
> Modem compatibility mode. The automatic acceptance of both GPRS and incoming CSD calls is controlled by the ATS0 command. Manual control uses the ATA and ATH commands, respectively, to accept or reject GPRS network requests or incoming CSD calls.
> Notes

> • | It is allowed to have different AT+CGAUTO settings on different interfaces.

> • | When the AT+CGAUTO=0 command is received, the MT will not perform a GPRS detach if it is attached. Subsequently, when the MT announces a network request for PDP context activation by issuing the URC RING or CRING, the TE may manually accept or reject the request by issuing the AT+CGANS command or may simply ignore the network request.

> • | When the AT+CGAUTO=1 command is received, the MT will attempt to perform a GPRS attach if it is not yet attached. Failure will result in ERROR or, if enabled +CME ERROR being returned to the TE. Subsequently, the MT announces a network request for PDP context activation by issuing the URC RING to the TE, followed by the intermediate result code CONNECT. The MT then enters V.250 online data state and follows the same procedure as it would after having received a +CGANS=1 with no <L2P> or <cid> values specified.

> • | If a GPRS attach will be initiated by this command and the MT is not able to attach for more than 385 seconds (timer T3310 expired), command returns with "ERROR" or "+CME ERROR: unknown", but MT is still trying to attach and the requested automatic mode <n> is in use.

> • | If a network request for PDP context activation is answered automatically and if another AT command is issued at the same time on the same interface, then this AT command is not executed. Any response belongs to the automatic context activation procedure. If the AT command which caused the collision was a circuit switched data call, the CONNECT response does not belong to this data call but to the GPRS. This can be detected if ATX is not set to 0. CS data call will issue CONNECT <text>, GPRS will issue CONNECT only.