> 2.16.2 | Connection Initialization

> Figure 135: Connection Initialization
> 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.16.2.1 | Description

> This chapter describes the two connection types: CSD and GPRS which are also referred to as bearers. To configure the connection profiles the AT^SICS command is used. It is possible to create a maximum of 6 connection profiles. The connections are identified by the <conProfileId>.
> There are differences in setting of the connection parameters relating to CSD and GPRS.

> • | CSD parameter description:

> - | Parameters like: <authMode>, <calledNum>, <dataRate>, <dataType> are mandatory and depend on the network providers and can be found on their websides.

> - | The <conType> parameter should be set at first.

> - | It’s advisible to set the <alphabet> parameter after setting the <conType> parameter, because it selects the set of input and output of string parameters.

> - | The <authMode> parameter should be set before setting the <passwd>, because changing this parameter will restore the <passwd> parameter to its default.

> - | The <inactTO> parameter specifies the inactivity timeout value in seconds. It is the time, the bearer remains open after closing the last service with the AT^SISC command. If the service proceeds to the state “6” (down) before executing the AT^SISC command, the inactivity timeout will begin from this moment. The <inactTO> parameter should be set at the end of service setup profile.

> - | The other parameters can be set in any order.

> • | GPRS parameter description:

> - | Parameters like: <authMode> and <apn> are mandatory and depend on the network providers and can be found on their websides.

> - | The <conType> parameter should be set at first.

> - | It’s advisible to set the <alphabet> parameter after setting the <conType> parameter, because it selects the set of input and output of string parameters.

> - | The <authMode> parameter should be set before setting the <passwd>, because changing this parameter will restore the <passwd> parameter to its default.

> - | The <inactTO> parameter specifies the inactivity timeout value in seconds. It is the time, the bearer remains open after closing the last service with the AT^SISC command. If the service proceeds to the state “6” (down) before executing the AT^SISC command, the inactivity timeout will begin from this moment. The <inactTO> parameter should be set at the end of service setup profile.

> - | The other parameters can be set in any order.

> • | In order to clear the connection profile, the “AT^SICS = <conId>, conType, none” command should be used.

> • | The parameters used in this example, e.g. <user> or <apn> reflect settings for the german network provider: T-Mobile.

> 2.16.2.2 | Used AT commands

> Command | Explanation
> AT^SICS | Internet Connection Setup Profile

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

> 2.16.2.3 | Flow chart – CSD and GPRS0 Initialization

> Figure 136: CSD Initialization
> Figure 137: GPRS0 Initialization

> 2.16.2.4 | Hints

> • | MC55/56 (version 2.5) doesn’t support the CSD connection.

> • | MC55/56 (version 2.5) doesn’t support setting of the <authMode> parameter.

> 2.16.2.5 | Example – CSD and GPRS0 Initialization

> Example 1: CSD Initialization
> *************************************
> Comment Connection Setup Profile CSD
> *************************************
> Subscr 1 Send: AT^SICS=0,conType,CSD
> Subscr 1 Receive: AT^SICS=0,conType,CSD
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=0,alphabet,1
> Subscr 1 Receive: AT^SICS=0,alphabet,1
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=0,authMode,PAP
> Subscr 1 Receive: AT^SICS=0,authMode,PAP
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=0,user,freenet
> Subscr 1 Receive: AT^SICS=0,user,freenet
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=0,passwd,mobil
> Subscr 1 Receive: AT^SICS=0,passwd,mobil
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=0,calledNum,22243
> Subscr 1 Receive: AT^SICS=0,calledNum,22243
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=0,dataRate,0
> Subscr 1 Receive: AT^SICS=0,dataRate,0
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=0,dataType,0
> Subscr 1 Receive: AT^SICS=0,dataType,0
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=0,inactTO,30
> Subscr 1 Receive: AT^SICS=0,inactTO,30
> Subscr 1 Receive: OK
> Example 2: GPRS0 Initialization
> ****************************************
> Comment Connection Setup Profile GPRS0
> ****************************************
> Subscr 1 Send: AT^SICS=1,conType,GPRS0
> Subscr 1 Receive: AT^SICS=1,conType,GPRS0
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=1,alphabet,1
> Subscr 1 Receive: AT^SICS=1,alphabet,1
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=1,authMode,PAP
> Subscr 1 Receive: AT^SICS=1,authMode,PAP
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=1,user,t-d1
> Subscr 1 Receive: AT^SICS=1,user,t-d1
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=1,passwd,t-d1
> Subscr 1 Receive: AT^SICS=1,passwd,t-d1
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=1,apn,internet.t-d1.de
> Subscr 1 Receive: AT^SICS=1,apn,internet.t-d1.de
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=1,dns1,193.254.160.1
> Subscr 1 Receive: AT^SICS=1,dns1,193.254.160.1
> Subscr 1 Receive: OK
> Subscr 1 Send: AT^SICS=0,inactTO,30
> Subscr 1 Receive: AT^SICS=0,inactTO,30
> Subscr 1 Receive: OK