> 2.10.5 | Entering GPRS data mode

> This section comprises the subsections Description, Used AT Commands, Flow Chart, Hints and Example. To move to these subsections please use the Navigation Frame or the appropriate buttons on the toolbar.

> 2.10.5.1 | Description

> There are several ways to go into GPRS data mode. The best approach is using the command ATD*99***<cid>#. The command AT+CGDATA=PPP,<cid>, however, is provided for reference purposes only.
> The PDP context (parameter <cid>) must be defined before via AT+CGDCONT.
> If ATD*99***<cid># or AT+CGDATA are entered without specifying a parameter, default parameters will be used.
> When entering the GPRS data mode, PPP traffic between the module and the application is transferred. Therefore the application must be capable of handling PPP protocol.

> 2.10.5.2 | Used AT commands

> Command | Explanation
> AT+CGDATA / ATD*99***1# | Enter GPRS data mode
> +++ | Switch from data mode or PPP online mode to command mode
> ATO / AT+CGDATA | Switch from command mode to data mode

> For further details about the commands see [2].

> 2.10.5.3 | Flow chart

> Figure 68: Entering GPRS data mode

> 2.10.5.4 | Hints

> • | Even though specified the command ATD*99# will not be accepted by many networks, because the default context does not contain the network specific parameters. Rather, use ATD*99***<cid># because this will activate the defined context with all required parameters.

> • | When the module is not attached and/or PDP Context activated, when trying to enter the GPRS data mode, the module first performs a GPRS attach, then attempts to activate the specified context and enters the GPRS data mode.

> 2.10.5.5 | Example

> ***************************************
> Comment: Entering GPRS data mode
> ***************************************
> ***************************************
> Comment: Enter GPRS data mode by using PDP Context cid=1
> ***************************************
> Subscr 1 Send: ATD*99***1#
> Subscr 1 Receive: ATD*99***1#
> Subscr 1 Receive: CONNECT
> ***************************************
> Comment: PPP traffic
> ***************************************
> Subscr 1 Receive: ~'255'}#'192'!}!}#} }9}"}&} }*} } }''}"}(}"}%}&9G}1}]}#}%'194'#}%Y'196'~
> ***************************************
> Comment: Leave GPRS data mode
> ***************************************
> Subscr 1 Send: +++
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Switch back to GPRS data mode
> ***************************************
> Subscr 1 Send: AT+CGDATA="PPP",1
> Subscr 1 Receive: AT+CGDATA="PPP",1
> Subscr 1 Receive: CONNECT
> ***************************************
> Comment: PPP traffic
> ***************************************
> Subscr 1 Receive: ~'255'}#'192'!}!}#} }9}"}&} }*} } }''}"}(}"}%}&9G}1}]}#}%'1 94'#}%Y'196'~~'255'}#'192'!} !}#} }9}"}&} }*} } }''}"}(}"}%}&9G}1}]}#}%'194'#}%Y'196'~
> ***************************************
> Comment: Leave GPRS data mode
> ***************************************
> Subscr 1 Send: +++
> Subscr 1 Receive:
> Subscr 1 Receive: OK