class RPacketContext : public RTelSubSessionBase |
Defines the context and the configuration of a connection to the network's packet-switched service.
The functionality associated with the context of a packet-switched connection (configuring, modifying, activating, etc) are encapsulated within this class.
Each instance of this class has an RPacketService parent, to which it belongs.
Protected Member Functions | |
---|---|
IMPORT_C void | ConstructL () |
IMPORT_C void | Destruct () |
Inherited Enumerations | |
---|---|
RTelSubSessionBase:TReqPriorityType |
Public Member Type Definitions | |
---|---|
typedef | TBuf8 < KMaxAuthDataLength > TAuthData |
typedef | TBuf8 < KMaxFQDNLength > TAuthorizationToken |
typedef | TPckg < TDataChannelV2 > TDataChannelV2Pckg |
typedef | TBuf8 < KGSNNameLength > TGSNAddress |
typedef | TUint8 TIPAddress |
typedef | TBuf8 < KMiscProtocolBufferLength > TMiscProtocolBuffer |
typedef | TPckg < TPacketFilterV2 > TPacketFilterV2Pckg |
typedef | TPckg < TPacketFilterV3 > TPacketFilterV3Pckg |
typedef | TBuf8 < KMaxPDPAddressLength > TProtocolAddress |
typedef | TPckg < TDnsInfoV2 > TTDnsInfoV2Pckg |
Protected Attributes | |
---|---|
CPacketContextPtrHolder * | iEtelPacketContextPtrHolder |
Inherited Attributes | |
---|---|
RTelSubSessionBase::iPtrHolder |
IMPORT_C void | Activate | ( | TRequestStatus & | aStatus | ) | const |
Activates a context that has been previously configured using SetConfig() . Once this function completes, the context will remain in an 'Activating' state until a layer 2 connection (e.g.: PPP or SLIP) has been successfully negotiated between the phone and the packet network gateway. Once the link layer has been negotiated, the context can be considered to be 'Activated'.
This is an asynchronous function.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextActivate) to cancel a previously placed asynchronous Activate() request.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
IMPORT_C void | AddMediaAuthorizationL | ( | TRequestStatus & | aStatus, |
CTFTMediaAuthorizationV3 & | aMediaAuthorization | |||
) | const |
Adds a new set of Authorization Token and Flow Identifiers to the packet context object. This asynchronous method may be called by the client application.
TRequestStatus & aStatus | TRequestStatus reference, enables asynchronous function call. |
CTFTMediaAuthorizationV3 & aMediaAuthorization | a reference to a CTFTMediaAuthorizationV3 object containing the data that is to be added. |
IMPORT_C void | AddPacketFilter | ( | TRequestStatus & | aStatus, |
const TDesC8 & | aPacketFilterInfo | |||
) | const |
This asychronous method may be called by the client application. It sets up a packet filter in the TFT belonging to this context with the ID specified in the packet filter information since version 2 of this API. Supported from v7.0S .
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
const TDesC8 & aPacketFilterInfo | Reference to a TPacketFilterV2 class packaged inside a TPckg<> class. |
IMPORT_C void | Close | ( | ) |
Closes the client's current sub-session with ETel. Any outstanding requests the client may have with ETel (notifications, for example) will be automatically destroyed by ETel.
IMPORT_C void | ConstructL | ( | ) | [protected, virtual] |
This function creates an instance of CPacketContextPtrHolder and assigns it to the iEtelPacketContextPtrHolder pointer.
IMPORT_C void | CreateNewTFT | ( | TRequestStatus & | aStatus, |
const TInt | aSize | |||
) | const |
This asynchronous method may be called by the client application. Creates a new Traffic Flow Template.
TRequestStatus & aStatus | TRequestStatus reference, enables asynchronous function call. |
const TInt aSize | Number of filters that the TFT contains. |
IMPORT_C void | Deactivate | ( | TRequestStatus & | aStatus | ) | const |
Deactivates a context previously configured on the phone.
This is an asynchronous function.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextDeactivate) to cancel a previously placed asynchronous Deactivate() request.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
IMPORT_C void | Delete | ( | TRequestStatus & | aStatus | ) | const |
Deletes a context previously configured on the phone.
This asynchronous function may be called by the client application.
Although the context is deleted from the TSY (and/or ME), the client's RPacketContext/RPacketMbmsContext subsession remains. To remove this, a client must call Close() .
This is an asynchronous function.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextDelete) to cancel a previously placed asynchronous Delete() request.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
IMPORT_C void | DeleteTFT | ( | TRequestStatus & | aStatus | ) | const |
This asynchronous method may be called by the client application. Deletes the existing traffic flow template (including all filters) for this context object.
TRequestStatus & aStatus | TRequestStatus reference, enables asynchronous function call. |
IMPORT_C void | Destruct | ( | ) | [protected, virtual] |
This function deletes and NULLs the iEtelPacketContextPtrHolder pointer.
IMPORT_C void | EnumeratePacketFilters | ( | TRequestStatus & | aStatus, |
TInt & | aCount | |||
) | const |
This asynchronous method may be called by the client application. It returns the number of defined packet filters in the Traffic Flow Template (TFT) associated with this context since version 2 of the API. Supported from v7.0S.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TInt & aCount | Number of packet filters in the TFT. |
IMPORT_C void | GetConfig | ( | TRequestStatus & | aStatus, |
TDes8 & | aConfig | |||
) | const |
Gets the configuration of the current context.
This is an asynchronous function.
In the case of this function call, the value for each TContextConfigXXX parameter will be input by the TSY.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextGetConfig) to cancel a previously placed asynchronous GetConfig() request.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TDes8 & aConfig | On completion, a TContextConfigXXX context configuration object packaged as a TPckg<TContextConfigXXX>. |
IMPORT_C void | GetConnectionInfo | ( | TRequestStatus & | aStatus, |
TDes8 & | aInfo | |||
) | const |
Gets the current connection information.
This is an asynchronous function.
In the case of this function call, the members of class TConnectionInfoV1 or any later derived versions supplied by the client will be returned, eg. TConnectionInfoVx.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextGetConnectionInfo) to cancel a previously placed asynchronous GetConnectionInfo() request.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TDes8 & aInfo | TConnectionInfoV1 or any later derived versions supplied by the client packaged as a TPckg<TConnectionInfoVx>. |
IMPORT_C void | GetConnectionSpeed | ( | TRequestStatus & | aStatus, |
TUint & | aRate | |||
) | const |
Gets the current connection speed.
This is an asynchronous function.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextGetConnectionSpeed) to cancel a previously placed asynchronous GetConnectionSpeed() request.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TUint & aRate | On return, the current connection bandwidth in bits per second. |
IMPORT_C TInt | GetDataVolumeTransferred | ( | TDataVolume & | aVolume | ) | const |
Allows a client to get details on the current amount of data transmitted and received over the airlink since the context was activated, in version 1 of the API.
This synchronous method may be called by the client application.
TDataVolume & aVolume | On return, a reference to TDataVolume with the current amount of data transmitted and received. |
IMPORT_C void | GetDataVolumeTransferred | ( | TRequestStatus & | aStatus, |
TDataVolume & | aVolume | |||
) | const |
Allows a client to get details on the current amount of data transmitted and received over the airlink since the context was activated, for version 2 of this API onwards.
This is an asynchronous function. Note that the synchronous variant of this method is deprecated.
Introduced in v7.0S.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TDataVolume & aVolume | On return, a reference to TDataVolume with the current amount of data transmitted and received. |
IMPORT_C void | GetDnsInfo | ( | TRequestStatus & | aStatus, |
TDes8 & | aDnsInfo | |||
) | const |
Extracts DNS server names from the context since version 2 of the API.
Supported from v7.0S.
GetDNSInfo() is needed when the client uses dynamic IPv4 PDP addresses. After the context is activated the client needs to know the actual primary and secondary DNS addresses to use when sending packet data. As the network may have supplied these addresses there is a need for an API method to get these addresses from the TSY.
TRequestStatus & aStatus | TRequestStatus object with which error code is returned |
TDes8 & aDnsInfo | Packaged TDnsInfoV2 object. |
IMPORT_C TInt | GetLastErrorCause | ( | TInt & | aError | ) | const |
Gets the most recent error to have occurred. This may be used, for instance, to retrieve which error caused PPP to close down prematurely.
This function may be called by the client.
TInt & aError | On return, the last error received or generated by the TSY. |
IMPORT_C void | GetPacketFilterInfo | ( | TRequestStatus & | aStatus, |
TInt | aIndex, | |||
TDes8 & | aPacketFilterInfo | |||
) | const |
This asynchronous method may be called by the client application. Retrieves information about the packet filter specified by the aIndex parameter since version 2 of this API. It is usual to use this function in conjunction with the EnumeratePacketFilters() method, which returns the current number of defined packet filters in the TFT in its 'aCount' argument.
Supported from v7.0S
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TInt aIndex | Specifies packet filter for which information is to be retrieved. The valid range for aIndex will be between 0 and (n-1) where n is the number returned in aCount. If an invalid index is specified the method will return KErrArgument in its aStatus. |
TDes8 & aPacketFilterInfo | Reference to a TPacketFilterV2 class packaged inside a TPckg<> class. |
IMPORT_C TInt | GetProfileName | ( | TName & | aQoSProfile | ) | const |
Allows a client to retrieve the name of the Quality of Service profile ( RPacketQoS ) associated with the context.
This is an synchronous function.
TName & aQoSProfile | On return, a reference to the name of the existing QoS profile. If no profile has been defined then this name will be NULL. |
IMPORT_C TInt | GetStatus | ( | TContextStatus & | aContextStatus | ) | const |
Allows a client to get the current status of the context.
This synchronous function may be called by the client application.
TContextStatus & aContextStatus | On return, the current status of the context. |
IMPORT_C void | InitialiseContext | ( | TRequestStatus & | aStatus, |
TDes8 & | aDataChannelV2Pckg | |||
) | const |
Enables asynchronous resource reservation for a new primary or secondary context at the creation phase, since version 2 of the API.
This is an asynchronous function.
Supersedes the LoanCommPort() and RecoverCommPort() methods, which are now deprecated. This new method enables asynchronous resource reservation for a new primary or secondary context at the creation phase.
The InitialiseContext() method still contains the information that was previously in the LoanCommPort() method, i.e. details of the comm port to be used for sending/receiving user data. It however has an additional member which will return any additional information generated by context creation.
Introduced in v7.0S
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TDes8 & aDataChannelV2Pckg | Reference to a TDataChannelV2 class packaged inside a TPckg<> class. The TDataChannelV2 class contains the members of the struct used previously by the deprecated LoanCommPort() method as well as an additional member which will now return technical information generated when a context is created, for instance, a context name or id. This name/id is different from that assigned by the TSY when the OpenNewContext() or OpenNewSecondaryContext() methods are called. |
IMPORT_C void | LoanCommPort | ( | TRequestStatus & | aStatus, |
RCall::TCommPort & | aDataPort | |||
) | const |
Provides a client with details of the comm port to be used for sending/receiving user data in version 1 of the API. This comm port is used by Network Interfaces, NIFs, (for example: PPP.NIF) to send and receive data. In a 2-box device this port would generally be the same as that used by the TSY to set up and control the connection. In a 1-box device this port would generally be different to the port used by the TSY to set up and control the connection.
This asynchronous function may be called by the client application.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextLoanCommPort) to cancel a previously placed asynchronous LoanCommPort() request.
Superceded in v7.0S
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
RCall::TCommPort & aDataPort | A reference to a TCommPort class containing information on the port, including its name and the associated CSY used to access it. |
IMPORT_C void | ModifyActiveContext | ( | TRequestStatus & | aStatus | ) | const |
This asynchronous method may be called by the client application. It invokes an MS-initiated modification of an active context in the network since version 2 of the API. The client must previously have altered either the requested QoS profile of the context and/or the TFT whilst the context was active before calling this method.
Supported from v7.0S
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
IMPORT_C void | NotifyConfigChanged | ( | TRequestStatus & | aStatus, |
TDes8 & | aConfig | |||
) | const |
Allows a client to be notified whenever a change in the current context is detected and gets the updated configuration.
This is an asynchronous function.
In the case of this function call, the value for each parameter will be input by the TSY.
It should be noted that once the notification completes, the client must then re-post the notification if they wish to continue receiving the notification.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextNotifyConfigChanged) to cancel a previously placed asynchronous NotifyConfigChanged() request.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TDes8 & aConfig | On completion, a TContextConfigXXX context configuration object packaged as a TPckg<TContextConfigXXX>. |
IMPORT_C void | NotifyConnectionInfoChange | ( | TRequestStatus & | aStatus, |
TDes8 & | aInfo | |||
) | const |
Allows a client to be notified whenever the connection information changes and gets the updated connection information.
This is an asynchronous function.
Once the notification completes, the client must then re-post the notification if they wish to continue receiving further notifications.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TDes8 & aInfo | TConnectionInfoV1 or any later derived versions supplied by the client packaged as a TPckg<TConnectionInfoVx>. |
IMPORT_C void | NotifyConnectionSpeedChange | ( | TRequestStatus & | aStatus, |
TUint & | aRate | |||
) | const |
Allows a client to be notified whenever the current connection speed changes and gets the current connection speed.
This is an asynchronous function.
Once the notification completes, the client must then re-post the notification if they wish to continue receiving further notifications.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextNotifyConnectionSpeedChange) to cancel a previously placed asynchronous NotifyConnectionSpeedChange() request.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TUint & aRate | On return, the current connection bandwidth in bits per second. |
IMPORT_C void | NotifyDataTransferred | ( | TRequestStatus & | aStatus, |
TDataVolume & | aVolume, | |||
TUint | aRcvdGranularity = 0x1000, | |||
TUint | aSentGranularity = 0x1000 | |||
) | const |
Allows a client to be notified of a change in the volume of data transmitted and received over the airlink since the context was activated and gets the new volume.
The notification will only complete when the change in volume increases by a client-specified amount (granularity). The default granularity for each direction (rx/tx) is 4KB.
This is an asynchronous function.
Once the notification completes, the client must then re-post the notification if they wish to continue receiving further notifications.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextNotifyDataTransferred) to cancel a previously placed asynchronous NotifyDataTransferred() request.
TRequestStatus & aStatus | KErrNone if successful, otherwise another of the system-wide error codes. |
TDataVolume & aVolume | On return, a reference to the current amount of data transmitted and received. |
TUint aRcvdGranularity = 0x1000 | The granularity for the volume of received data. |
TUint aSentGranularity = 0x1000 | The granularity for the volume of transmitted data. |
IMPORT_C void | NotifyStatusChange | ( | TRequestStatus & | aStatus, |
TContextStatus & | aContextStatus | |||
) |
Allows a client to receive a notification whenever a change in the status of the context is detected and gets the new context status.
This is an asynchronous function.
Once the notification completes, the client must re-post the notification if they wish to continue receiving further status change notifications.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextNotifyStatusChange) to cancel a previously placed asynchronous NotifyStatusChange() request.
TRequestStatus & aStatus | KErrNone if successful, otherwise another of the system-wide error codes. |
TContextStatus & aContextStatus | On completion, the new context status. |
IMPORT_C TInt | OpenExistingContext | ( | RPacketService & | aPacketNetwork, |
const TDesC & | aContextName | |||
) |
Opens a handle on an existing context ( RPacketContext ) object, either primary or secondary, identified by a name.
KErrNotFound is returned if the object does not exist.
An opened RPacketContext must be closed explicitly by calling Close() to prevent a resource (memory) leak.
RPacketService & aPacketNetwork | This identifies the packet network (RPacketService) the particular context to be opened belongs. All existing contexts must have an RPacketService parent. |
const TDesC & aContextName | This uniquely identifies to ETel which existing RPacketContext object the client wants to open. This name was previously assigned by the TSY when the specified RPacketContext was created, using OpenNewContext(). |
IMPORT_C TInt | OpenNewContext | ( | RPacketService & | aPacketNetwork, |
TDes & | aContextName | |||
) |
Creates a primary PDP context (i.e. RPacketContext ) on an existing RPacketService connection.
There is a global mutex around this method and the RPacketService::OpenNewSecondaryContext() method. There is a potential problem with an Open function that makes an initial "set-up" function call - another client could also call OpenNewSecondaryContext() or OpenNewContext() at the same time, and the wrong client's OpenNewObjectL() will reach the TSY first. This would mean clients would receive handles to the wrong context! To avoid this, the API code for both OpenNewContext() and OpenNewSecondaryContext() must have a shared global mutex around it, so only one client can call either of these two functions at any one time.
The TSY will return KErrUmtsMaxNumOfContextExceededByPhone if the number of PDP contexts supported by the phone is exceeded. The TSY will return KErrUmtsMaxNumOfContextExceededByNetwork if the number of PDP contexts supported by the network is exceeded.
An opened RPacketContext must be closed explicitly by calling Close() to prevent a resource (memory) leak.
RPacketService & aPacketNetwork | An RPacketContext may only be opened from an existing RPacketService subsession. A client application must therefore pass a reference to their previously instantiated RPacketService object. |
TDes & aContextName | When the new context is created, the TSY will assign it a unique name and pass this name back to the client using this parameter. The client can use this name to uniquely identify the particular context. |
IMPORT_C TInt | OpenNewSecondaryContext | ( | RPacketService & | aPacketService, |
const TDesC & | aExistingContextName, | |||
TDes & | aNewContextName | |||
) |
Creates a new secondary context from an existing context (either primary or secondary) since version 2 of the API.
The configuration of the existing context is used by the new one so the client need not call the RPacketContext::SetConfig() method.
Immediately after the creation of the newly created secondary context, a client must - a) ensure that they specify the requested QoS using an RPacketQoS object; b) add a packet filter to the secondary object. This assumes that there already exists a primary or secondary context for this NIF without a TFT. If this is not the case, it is not mandatory that a packet filter is added to this new secondary context before activation. The TSY will return KErrNotSupported if it does not support secondary contexts.
The TSY will return KErrUmtsMaxNumOfContextExceededByPhone if the number of PDP contexts supported by the phone is exceeded. The TSY will return KErrUmtsMaxNumOfContextExceededByNetwork if the number of PDP contexts supported by the network is exceeded.
There is a global mutex around this method and the RPacketService::OpenNewContext() method. There is a potential thread timing issue with an Open function that makes an initial "set-up" function call - another client could also call OpenNewSecondaryContext() or OpenNewContext() at the same time, and the wrong client's OpenNewObjectL() will reach the TSY first. This would mean clients would receive handles to the wrong context! To avoid this, the API code for both OpenNewContext() and OpenNewSecondaryContext() must have a shared global mutex around it, so only one client can call either of these two functions at any one time.
RPacketService & aPacketService | An RPacketContext may only be opened from an existing RPacketService subsession. A client application must therefore pass a reference to their previously instantiated RPacketService object. |
const TDesC & aExistingContextName | : Name of the existing context which is to spawn a secondary context. |
TDes & aNewContextName | : New Secondary context name is assigned by the TSY. |
IMPORT_C void | RecoverCommPort | ( | TRequestStatus & | aStatus | ) | const |
Allows a client, who previously called LoanCommPort() , to inform ETel and hence the TSY that it has finished with the comm port, in version 1 of the API.
This asynchronous function may be called by the client application.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextRecoverCommPort) to cancel a previously placed asynchronous RecoverCommPort() request.
Superceded in v7.0S.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
IMPORT_C void | RemoveMediaAuthorization | ( | TRequestStatus & | aStatus, |
TAuthorizationToken & | aAuthorizationToken | |||
) | const |
Removes the Authorization Token and Flow Identifiers set from the packet context object. This is identified by aAuthorizationToken. This asynchronous method may be called by the client application.
TRequestStatus & aStatus | TRequestStatus reference, enables asynchronous function call. |
TAuthorizationToken & aAuthorizationToken | identifier to the Authorization Token that is to be removed. |
IMPORT_C void | RemovePacketFilter | ( | TRequestStatus & | aStatus, |
TInt | aId | |||
) | const |
This asynchronous method may be called by the client application. Removes a packet filter from the TFT belonging to this context, since version 2 of the API.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
TInt aId | Specifies the packet filter. |
IMPORT_C void | SetConfig | ( | TRequestStatus & | aStatus, |
const TDesC8 & | aConfig | |||
) | const |
Passes to the TSY all the parameters necessary to configure the particular context. The parameters are passed via a packaged TContextConfigGPRS/ TContextConfigCDMA/TContextConfigR99_R4/RPacketMbmsContextTContextConfigMbmsV1 object depending on the current network mode.
This is an asynchronous function.
In the case of this function call, the value for each TContextConfigXXX parameter will be input by the client and probably obtained from CommDB. To determine how to correctly unpack the descriptor inside the TSY, the TSY must first cast the descriptor to a TPacketDataConfigBase pointer and check whether ExtensionId() returns a KConfigGPRS, KConfigCDMA,KConfigRel99Rel4 or KConfigMBMS. The TSY will then cast the descriptor to the correct TPacketDataConfigBase-derived class.
Use RTelSubSessionBase::CancelAsyncRequest(EPacketContextSetConfig) to cancel a previously placed asynchronous SetConfig() request.
TRequestStatus & aStatus | On return, KErrNone if successful, otherwise another of the system-wide error codes. |
const TDesC8 & aConfig | A TContextConfigXXX object packaged as a TPckg<TContextConfigXXX>. |
Anonymous access required.
Modes: GRPS, CDMA
ENotApplicable |
Anonymous access not applicable. Modes: GRPS, CDMA |
ERequired |
Anonymous access required. Modes: GRPS |
ENotRequired |
Anonymous access not required. Modes: GPRS |
Determines which fields in the TConnectionInfoXXX parameter class are valid.
KHSDPACategory = 0x00000001 |
The HSDPA category field is valid in the connection info class. Modes: WCDMA |
KHSUPACategory = 0x00000002 |
The HSUPA category field is valid in the connection info class. Modes: WCDMA |
EStatusUnknown |
Current status is unknown. |
EStatusInactive |
Context is not activated. |
EStatusActivating |
Context is currently being activated. |
EStatusActive |
Context is active. |
EStatusDeactivating |
Context is currently being deactivated. |
EStatusSuspended |
Context is suspended. |
EStatusDeleted |
Context has been deleted. |
EStatusReceiving |
Context is currently in data receiving mode.The service transitions to this state when the data transmission starts.This is expected to happen after some time of arrival of SESSION START message from the network. Note : Applicable only to MBMS context |
Identifiers for the type of data data compression applicable for SNDCP only, as defined in 3GPP TS 44.065, section 6.6.1.1.4. Values listed in the enumeration do not hold same numerical values as those defined in the specifications, as ENoDataComression and EManufacturerDefaultDataComression are introduced in order to be utilised when no compression and device default compression algorithm are needed, respectively.
ENoDataCompression |
No compression |
EManufacturerDefaultDataCompression |
Compression algorithm preferred by the device manufacturer |
EV42 |
V.42 bis |
EV44 |
V.44 |
Maximum length of DNS Fully Qualified Domain Name (RFC 1123)
KMaxFQDNLength = 255 |
Identifiers for type of SNDCP & PDCP header compression as defined in 3GPP TS 44.065, section 6.5.1.1.4, Values listed in the enumeration do not hold same numerical values as those defined in the specifications, as ENoHeaderCompression and EManufacturerDefaultHeaderCompression are introduced in order to be utilised when no compression and device default compression algorithm are needed, respectively.
ENoHeaderCompression |
No compression |
EManufacturerDefaultHeaderCompression |
Compression algorithm preferred by the device manufacturer |
ERfc1144 |
Compression algorithm defined in RFC 1144 |
ERfc2507 |
Compression algorithm defined in RFC 2507 |
ERohc |
Robust header compression algorithm defined in RFC 3095 |
Packet Filter type identifier.
EPacketFilterTypeUnknown |
Unknown filter type. |
EPacketFilterTypeOne |
Filter Type One. |
EPacketFilterTypeTwo |
Filter Type Two. |
EPacketFilterTypeThree |
Filter Type Three. |
Identifiers for Packet Flow Context. See Table 10.5.161/3GPP TS 24.008.
EBestEffort |
Best Effort |
ESignalling |
Signalling |
ESms |
Sms |
PCO additional parameter identifiers in MS to network direction, as defined in 3GPP TS 24.008, section 10.5.6.3
EEtelPcktPCSCFAddressRequest = 0x01 |
PCO MS additional parameter identifier for a PCSCF address request. |
EEtelPcktIMCNMSSubsystemSignallingFlag = 0x02 |
PCO MS additional parameter identifier for an IM CN subsystem signalling flag. |
EEtelPcktDNSServerAddressRequest = 0x03 |
PCO MS additional parameter identifier for a DNS server address request. |
EEtelPcktNotSupported = 0x04 |
Not currently supported. |
PCO additional parameter identifiers in network to MS direction, as defined in 3GPP TS 24.008, section 10.5.6.3
EEtelPcktPCSCFAddress = 0x01 |
PCO network additional parameter identifier for a PCSCF address. |
EEtelPcktIMCNNetworkSubsystemSignallingFlag = 0x02 |
PCO network additional parameter identifier for an IM CN subsystem signalling flag. |
EEtePcktDNSServerAddress = 0x03 |
PCO network additional parameter identifier for a DNS server address. |
EEtelPcktPolicyControlRejectionCode = 0x04 |
PCO network additional parameter identifier for a policy control rejection code. |
Protocol identifiers, as defined in 24.008, section 10.5.6.3
EETelPcktProtocolLcpId = 0xc021 |
PCO identifier for LCP. |
EETelPcktProtocolPapId = 0xc023 |
PCO identifier for PAP. |
EETelPcktProtocolChapId = 0xc223 |
PCO identifier for CHAP. |
EETelPcktProtocolIpcpId = 0x8021 |
PCO identifier for IPCP. |
Defines the protocol used to connect to the packet data gateway.
Modes: GRPS
EPdpTypeIPv4 |
IPv4 type gateway. Modes: GRPS |
EPdpTypeIPv6 |
IPv6 type gateway. Modes: GPRS |
EPdpTypeX25 |
X.25 type gateway. Modes: GPRS |
EPdpTypePPP |
PPP type gateway. Modes: GRPS, CDMA |
EPdpTypeCDPD |
CDPD type gateway. Modes: CDMA 9.5 |
Service option numbers identify the various packet data services available on the CDMA packet network.
Modes: CDMA 9.5
KLowSpeedData = 0x01 |
Service Options 7 and 15, 8-16. |
KHighSpeedData = 0x02 |
Service Options 22-25 IP and 26-29 CDPD. |
KHighSpeedCDMA2000Data = 0x04 |
Service Option 33 on CDMA2000 network only. |
typedef TBuf8 < KMaxAuthDataLength > | TAuthData |
Buffer for various sorts of authorisation data since version 2 of the API.
Supported from v7.0S.
typedef TPckg < TDataChannelV2 > | TDataChannelV2Pckg |
Data channel package since version 2 of the API.
Supported from v7.0S.
typedef TUint8 | TIPAddress |
Array to hold either IPv4 or IPv6 address or Subnet mask since version 2 of the API.
Supported from v7.0S.
typedef TPckg < TPacketFilterV2 > | TPacketFilterV2Pckg |
Packaged TPacketFilterV2 .
typedef TPckg < TPacketFilterV3 > | TPacketFilterV3Pckg |
Packaged TPacketFilterV3 .
typedef TBuf8 < KMaxPDPAddressLength > | TProtocolAddress |
Buffer to hold the protocol address.
typedef TPckg < TDnsInfoV2 > | TTDnsInfoV2Pckg |
DNS information package since version 2 of the API.
Supported from v7.0S.
CPacketContextPtrHolder * | iEtelPacketContextPtrHolder | [protected] |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.