CMmPacketServiceGsmWcdmaExt Class Reference

class CMmPacketServiceGsmWcdmaExt : public CBase

CMmPacketServiceGsmWcdmaExt contains mode specific packet service functionality for GSM/WCDMA Packet Data.

Inherits from

  • CMmPacketServiceGsmWcdmaExt
Public Member Functions
~CMmPacketServiceGsmWcdmaExt()
TInt AttachL()
voidCompleteAttach(TInt)
voidCompleteDetachL(TInt)
voidCompleteDynamicCapsChange(CMmDataPackage *)
voidCompleteGetAttachMode(CMmDataPackage *, TInt)
voidCompleteGetNtwkRegStatus(CMmDataPackage *, TInt)
voidCompleteGetStaticCaps(CMmDataPackage *, TInt)
voidCompleteSetAttachMode(const TInt)
voidCompleteSetDefaultContextParams(TInt)
voidCompleteSetPreferredBearer(TInt)
voidCompleteTransferCapsChange(CMmDataPackage *)
TInt DetachL()
TBool EGprsSupportInCell()
TInt GetAttachModeL()
TInt GetDefaultContextParams(TPacketDataConfigBase *)
voidGetDynamicCaps(RPacketService::TDynamicCapsFlags *const )
TInt GetNtwkRegStatusL()
voidGetStaticCaps(TUint *const )
CMmPacketServiceGsmWcdmaExt *NewL(CMmPacketServiceTsy *const , MLtsyFactoryBase *)
TInt SetAttachModeL(RPacketService::TAttachMode)
TInt SetDefaultContextParamsL(const TDataPackage &)
voidSetDynamicCapsFlag(const RPacketService::TDynamicCapsFlags, const TBool)
voidSetEdgeGprsSupport(TBool)
TInt SetPreferredBearerL(const TDataPackage &)
Private Member Functions
CMmPacketServiceGsmWcdmaExt()
voidConstructL(MLtsyFactoryBase *)
voidInitInternalAttributesL(MLtsyFactoryBase *)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
Private Attributes
RPacketContext::TGSNAddress iAccessPointName
TBool iCsServicesIsSupportedOnCell
RPacketService::TDynamicCapsFlags iDynamicCaps
TBool iGprsIsSupportedOnCell
TBool iIsSetDefaultContextParamsCalled
TBool iLastEdgeGprsSupport
RPacketService::TStatus iLastTransferStatus
CMmPacketServiceTsy *iMmPacketServiceTsy
TUint iPdpCompression
RPacketContext::TProtocolType iPdpType
TUint iStaticCaps
RPacketContext::TGSNAddress iTempAccessPointName
TUint iTempPdpCompression
RPacketContext::TProtocolType iTempPdpType

Constructor & Destructor Documentation

CMmPacketServiceGsmWcdmaExt()

CMmPacketServiceGsmWcdmaExt()[private]

C++ default constructor.

~CMmPacketServiceGsmWcdmaExt()

~CMmPacketServiceGsmWcdmaExt()[virtual]

Default destructor.

Member Functions Documentation

AttachL()

TInt AttachL()[virtual]

Attaches phone to the network.

CompleteAttach(TInt)

voidCompleteAttach(TIntaErrorValue)const [virtual]

Completes attach phone to the network request.

Parameters

TInt aErrorValueerror value for completion

CompleteDetachL(TInt)

voidCompleteDetachL(TIntaErrorValue)const [virtual]

Completes detach phone to the network request.

Parameters

TInt aErrorValueerror value for completion

CompleteDynamicCapsChange(CMmDataPackage *)

voidCompleteDynamicCapsChange(CMmDataPackage *aPackage)

Completes dynamic capabilities change to the service tsy.

Parameters

CMmDataPackage * aPackagecontains required data

CompleteGetAttachMode(CMmDataPackage *, TInt)

voidCompleteGetAttachMode(CMmDataPackage *aDataPackage,
TIntaResult
)const

Completes Get Attach Mode request.

Parameters

CMmDataPackage * aDataPackagecontains request related data
TInt aResult

CompleteGetNtwkRegStatus(CMmDataPackage *, TInt)

voidCompleteGetNtwkRegStatus(CMmDataPackage *aDataPackage,
TIntaResult
)

Completes network registration status request.

Parameters

CMmDataPackage * aDataPackage
TInt aResultresult value for completion

CompleteGetStaticCaps(CMmDataPackage *, TInt)

voidCompleteGetStaticCaps(CMmDataPackage *aPackage,
TIntaError
)

Completes get capabilities during to the service tsy startup.

Parameters

CMmDataPackage * aPackagecontains required data
TInt aError

CompleteSetAttachMode(const TInt)

voidCompleteSetAttachMode(const TIntaErrorValue)const

Completes Set Attach Mode request.

Parameters

const TInt aErrorValuefor completion

CompleteSetDefaultContextParams(TInt)

voidCompleteSetDefaultContextParams(TIntaErrorCause)

Completes call SetDefaultContextParameters.

Parameters

TInt aErrorCauseerror value

CompleteSetPreferredBearer(TInt)

voidCompleteSetPreferredBearer(TIntaErrorValue)const

Completes Set Preferred Bearer

Parameters

TInt aErrorValueerror value for completion

CompleteTransferCapsChange(CMmDataPackage *)

voidCompleteTransferCapsChange(CMmDataPackage *aPackage)

Completes transfer capabilities change to the service tsy.

Parameters

CMmDataPackage * aPackagecontains required data

ConstructL(MLtsyFactoryBase *)

voidConstructL(MLtsyFactoryBase *aFactory)[private]

Second phase constructor of CMmPacketServiceGsmWcdmaExt.

Parameters

MLtsyFactoryBase * aFactorypointer to Ltsy factory base

DetachL()

TInt DetachL()[virtual]

Detaches phone to the network.

EGprsSupportInCell()

TBool EGprsSupportInCell()[virtual]

Returns EGprs support in cell

GetAttachModeL()

TInt GetAttachModeL()[virtual]

Gets Attach Mode from the DOS.

GetDefaultContextParams(TPacketDataConfigBase *)

TInt GetDefaultContextParams(TPacketDataConfigBase *aContextConfig)

Gets default parameters of dial-up context.

Parameters

TPacketDataConfigBase * aContextConfigpointer to context configuration data

GetDynamicCaps(RPacketService::TDynamicCapsFlags *const)

voidGetDynamicCaps(RPacketService::TDynamicCapsFlags *const aCaps)const [virtual]

Gets gsm/wcdma specific dynamic capabilities of the phone.

Parameters

RPacketService::TDynamicCapsFlags *const aCapspointer to dynamic capabilities

GetNtwkRegStatusL()

TInt GetNtwkRegStatusL()[virtual]

Network registration status request to the network.

GetStaticCaps(TUint *const)

voidGetStaticCaps(TUint *const aCaps)const [virtual]

Gets gsm/wcdma specific static capabilities of the phone.

Parameters

TUint *const aCapsin which static caps is included

InitInternalAttributesL(MLtsyFactoryBase *)

voidInitInternalAttributesL(MLtsyFactoryBase *aFactory)[private]

Initialise internal attributes.

Parameters

MLtsyFactoryBase * aFactorypointer to Ltsy factory base

NewL(CMmPacketServiceTsy *const, MLtsyFactoryBase *)

CMmPacketServiceGsmWcdmaExt *NewL(CMmPacketServiceTsy *const aMmPacketServiceTsy,
MLtsyFactoryBase *aFactory
)[static]

Two-phased constructor.

Parameters

CMmPacketServiceTsy *const aMmPacketServiceTsypointer to ServiceTsy
MLtsyFactoryBase * aFactorypointer to Ltsy factory base

SetAttachModeL(RPacketService::TAttachMode)

TInt SetAttachModeL(RPacketService::TAttachModeaMode)[virtual]

Sets Attach Mode to the DOS.

Parameters

RPacketService::TAttachMode aModeincludes request related data

SetDefaultContextParamsL(const TDataPackage &)

TInt SetDefaultContextParamsL(const TDataPackage &aPackage)

Sets default parameters for a dial-up context.

Parameters

const TDataPackage & aPackagerequest related data

SetDynamicCapsFlag(const RPacketService::TDynamicCapsFlags, const TBool)

voidSetDynamicCapsFlag(const RPacketService::TDynamicCapsFlagsaFlag,
const TBoolaIsActionPossible
)[virtual]

Sets dynamic capabilities to the service tsy.

Parameters

const RPacketService::TDynamicCapsFlags aFlagflag to be changed
const TBool aIsActionPossibledefault value ETrue defines if Set is possible to do

SetEdgeGprsSupport(TBool)

voidSetEdgeGprsSupport(TBoolaLastEdgeGprsSupport)

Sets iLastEdgeSupport

Parameters

TBool aLastEdgeGprsSupport

SetPreferredBearerL(const TDataPackage &)

TInt SetPreferredBearerL(const TDataPackage &aPackage)[virtual]

Sets Preferred Bearer to the DOS.

Parameters

const TDataPackage & aPackageincludes request related data

Member Data Documentation

RPacketContext::TGSNAddress iAccessPointName

RPacketContext::TGSNAddress iAccessPointName[private]

SetContextDefaultParameter access point name

TBool iCsServicesIsSupportedOnCell

TBool iCsServicesIsSupportedOnCell[private]

Last info of circuit switch services availability from DOS

RPacketService::TDynamicCapsFlags iDynamicCaps

RPacketService::TDynamicCapsFlags iDynamicCaps[private]

Dynamic capabilities of gsm/wcdma extension

TBool iGprsIsSupportedOnCell

TBool iGprsIsSupportedOnCell[private]

Last info of gprs support in current cell from DOS

TBool iIsSetDefaultContextParamsCalled

TBool iIsSetDefaultContextParamsCalled[private]

Is set default context params method called

TBool iLastEdgeGprsSupport

TBool iLastEdgeGprsSupport[private]

Is edge gprs supported

RPacketService::TStatus iLastTransferStatus

RPacketService::TStatus iLastTransferStatus[private]

Last status received from DOS

CMmPacketServiceTsy * iMmPacketServiceTsy

CMmPacketServiceTsy *iMmPacketServiceTsy[private]

Pointer to the packet service tsy Not own.

TUint iPdpCompression

TUint iPdpCompression[private]

SetContextDefaultParameter pdp compressions

RPacketContext::TProtocolType iPdpType

RPacketContext::TProtocolType iPdpType[private]

Client side Pdp Type

TUint iStaticCaps

TUint iStaticCaps[private]

Static capabilities of gsm/wcdma extension

RPacketContext::TGSNAddress iTempAccessPointName

RPacketContext::TGSNAddress iTempAccessPointName[private]

SetContextDefaultParameter temporary access point name

TUint iTempPdpCompression

TUint iTempPdpCompression[private]

SetContextDefaultParameter temporary pdp compressions

RPacketContext::TProtocolType iTempPdpType

RPacketContext::TProtocolType iTempPdpType[private]

Client side temporary Pdp Type