> 2.10.3 | GPRS context definition

> 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.3.1 | Description

> Exact settings of GPRS context and Quality of Service Profiles are provisioned by the network provider and must be requested before defining the GPRS context. Every PDP context has a context identifier <cid>. The context identifiers are numbered sequentially and have to start with value 1.
> “AT+CGDCONT” is used to define a context ID and specify the PDP type and Access Point Name (APN). The PDP type describes the protocol to be used between the ME and the network. The APN specifies the gateway between mobile network and the internet.
> Optionally, a Quality of Service Profile (Minimum acceptable and Requested) can be defined for every defined PDP Context with the commands “AT+CGQREQ” and “AT+CGQMIN”. The required parameters depend on the network provider.
> For further details see [2] and [4]

> 2.10.3.2 | Used AT commands

> Command | Explanation
> AT+CGDCONT | Define PDP Context
> AT+CGQMIN | Quality of Service Profile (Minimum acceptable)
> AT+CGQREQ | Quality of Service Profile (Requested)

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

> 2.10.3.3 | Flow chart

> Figure 66: GPRS context definition

> 2.10.3.4 | Hints

> • | Please consider that some providers do not support all of the settings enabled by AT+CGQREQ and AT+CGQMIN.

> 2.10.3.5 | Example

> ***************************************
> Comment: GPRS context defintion
> ***************************************
> ***************************************
> Comment: Request defined PDP contexts.
> ***************************************
> Subscr 1 Send: AT+CGDCONT?
> Subscr 1 Receive: AT+CGDCONT?
> Subscr 1 Receive: +CGDCONT: 2,"IP","www.siemens.com","",0,0
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Define new PDP context.
> ***************************************
> Subscr 1 Send: AT+CGDCONT=1,IP,www.siemens.de
> Subscr 1 Receive: AT+CGDCONT=1,IP,www.siemens.de
> Subscr 1 Receive: OK
> ***************************************
> Comment: Define new PDP context.
> ***************************************
> Subscr 1 Send: AT+CGDCONT=2,IP,www.siemens.com
> Subscr 1 Receive: AT+CGDCONT=2,IP,www.siemens.com
> Subscr 1 Receive: OK
> ***************************************
> Comment: Request defined PDP contexts.
> ***************************************
> Subscr 1 Send: AT+CGDCONT?
> Subscr 1 Receive: AT+CGDCONT?
> Subscr 1 Receive: +CGDCONT: 1,"IP","www.siemens.de","",0,0
> Subscr 1 Receive: +CGDCONT: 2,"IP","www.siemens.com","",0,0
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Deletet PDP context cid=1.
> ***************************************
> Subscr 1 Send: AT+CGDCONT=1
> Subscr 1 Receive: AT+CGDCONT=1
> Subscr 1 Receive: OK
> **************************************
> Comment: Request defined PDP contexts.
> ***************************************
> Subscr 1 Send: AT+CGDCONT?
> Subscr 1 Receive: AT+CGDCONT?
> Subscr 1 Receive: +CGDCONT: 2,"IP","www.siemens.com","",0,0
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Request QoS minimum acceptable.
> ***************************************
> Subscr 1 Send: AT+CGQMIN?
> Subscr 1 Receive: AT+CGQMIN?
> Subscr 1 Receive: +CGQMIN: 2,0,0,0,0,31
> Subscr 1 Receive: OK
> ***************************************
> Comment: Define QoS for PDP context cid=2.
> ***************************************
> Subscr 1 Send: AT+CGQMIN=2,0,0,0,0,31
> Subscr 1 Receive: AT+CGQMIN=2,0,0,0,0,31
> Subscr 1 Receive: OK
> ***************************************
> Comment: Define QoS for PDP context cid=1.
> ***************************************
> Subscr 1 Send: AT+CGQMIN=1,0,0,0,0,31
> Subscr 1 Receive: AT+CGQMIN=1,0,0,0,0,31
> Subscr 1 Receive: OK
> ***************************************
> Comment: Request QoS minimum acceptable.
> ***************************************
> Subscr 1 Send: AT+CGQMIN?
> Subscr 1 Receive: AT+CGQMIN?
> Subscr 1 Receive: +CGQMIN: 1,0,0,0,0,31
> Subscr 1 Receive: +CGQMIN: 2,0,0,0,0,31
> Subscr 1 Receive:
> Subscr 1 Receive: OK
> ***************************************
> Comment: Delete QoS for PDP context cid=1.
> ***************************************
> Subscr 1 Send: AT+CGQMIN=1
> Subscr 1 Receive: AT+CGQMIN=1
> Subscr 1 Receive: OK
> ***************************************
> Comment: Request QoS minimum acceptable.
> ***************************************
> Subscr 1 Send: AT+CGQMIN?
> Subscr 1 Receive: AT+CGQMIN?
> Subscr 1 Receive: +CGQMIN: 2,0,0,0,0,31
> Subscr 1 Receive: OK