IMPORT_C void GetIntAttribute( const TUint aConnectionId,
const TUint aSubConnectionId,
const TUint aAttribute,
TInt& aValue,
TRequestStatus& aStatus );
IMPORT_C TInt SetIntAttribute( const TUint aConnectionId,
const TUint aSubConnectionId,
const TUint aAttribute,
const TInt aValue ) const;
with aAttribute set to KProtocolType.
IMPORT_C void GetBoolAttribute( const TUint aConnectionId,
const TUint aSubConnectionId,
const TUint aAttribute,
TBool& aValue,
TRequestStatus& aStatus );
IMPORT_C TInt SetBoolAttribute( const TUint aConnectionId,
const TUint aSubConnectionId,
const TUint aAttribute,
const TBool aValue ) const;
with aAttribute KConnectionStop or KConnectionStopAll.
IMPORT_C void GetStringAttribute( const TUint aConnectionId,
const TUint aSubConnectionId,
const TUint aAttribute,
TDes& aValue,
TRequestStatus& aStatus ) const;
IMPORT_C TInt SetStringAttribute( const TUint aConnectionId,
const TUint aSubConnectionId,
const TUint aAttribute,
const TDes& aValue ) const;
with aAttribute set to KAccessPointName or KNetworkName.
IMPORT_C void GetStringAttribute( const TUint aConnectionId,
const TUint aSubConnectionId,
const TUint aAttribute,
TDes& aValue,
TRequestStatus& aStatus ) const;
IMPORT_C TInt SetStringAttribute( const TUint aConnectionId,
const TUint aSubConnectionId,
const TUint aAttribute,
const TDes& aValue ) const;
with aAttribute set to KTelNumber.
IMPORT_C void GetPckgAttribute( const TUint aConnectionId,
const TUint aSubConnectionId,
const TUint aAttribute,
TDes8& aValue,
TRequestStatus& aStatus ) const;
IMPORT_C TInt SetPckgAttribute( const TUint aConnectionId,
const TUint aSubConnectionId,
const TUint aAttribute,
const TDes8& aValue ) const;
with aAttribute set to KClientInfo.
|
Data Structures |
class | TConnMonClientEnum |
| Class to contain client UIDs of a connection. More...
|
class | TConnMonNetwork |
| Class to contain basic WLAN information. More...
|
class | TConnMonNetworkNames |
| Class to contain an array of basic WLAN information. More...
|
class | TConnMonIap |
| Class representing an IAP. More...
|
class | TConnMonIapInfo |
| Class to contain an array of IAPs. More...
|
class | TConnMonSNAPId |
| Class representing a SNAP. More...
|
class | TConnMonSNAPInfo |
| Class to contain an array of SNAPs. More...
|
class | TConnMonBearerGroupInfo |
| Class to contain bearer group information. More...
|
class | CConnMonWlanNetwork |
| Class to represent a WLAN. More...
|
class | CConnMonWlanNetworksPtrArrayPckg |
| Class to contain a package of a pointer array of CConnMonWlanNetwork objects. More...
|
class | CConnMonWlanProbeRawBuffer |
| Class to represent a WLAN beacon frame. More...
|
class | CConnMonWlanProbeRawBuffersPckg |
| Class to contain a package of a pointer array of CConnMonWlanProbeRawBuffer objects. More...
|
class | MDesSerializer< T > |
| Interface template for the class T serialization to/from HBuf/TPtr. More...
|
class | TConnMonId |
| Class representing an ID number. More...
|
class | ConnMonIdsArrayPckg |
| Class to contain a package of an array of TConnMonId objects. More...
|
class | MConnectionMonitorObserver |
| Client application must implement the MConnectionMonitorObserver interface in order to receive notifications. More...
|
class | RConnectionMonitor |
| RConnectionMonitor. More...
|
class | CConnMonEventBase |
| Base class for all ConnMon event types. More...
|
class | CConnMonCreateConnection |
| This event is triggered when a new connection has been created. More...
|
class | CConnMonDeleteConnection |
| This event is triggered when a connection has been deleted. More...
|
class | CConnMonCreateSubConnection |
| This event is triggered when a new subconnection has been created. More...
|
class | CConnMonDeleteSubConnection |
| This event is triggered when a subconnection has been deleted. More...
|
class | CConnMonDownlinkDataThreshold |
| This event is triggered when there is a sufficient change in the volume of downlink data for a specific connection. More...
|
class | CConnMonUplinkDataThreshold |
| This event is triggered when there is a sufficient change in the volume of uplink data for a specific connection. More...
|
class | CConnMonNetworkStatusChange |
| This event is triggered when network status changes for some packet data connection. More...
|
class | CConnMonConnectionStatusChange |
| This event is triggered when the status of some connection changes. More...
|
class | CConnMonConnectionActivityChange |
| This event is triggered when some connection changes from active to idle or vice versa. More...
|
class | CConnMonNetworkRegistrationChange |
| This event is triggered when network registration status (GSM/GPRS/WCDMA) changes. More...
|
class | CConnMonBearerChange |
| This event is triggered when bearer type (GPRS/EdgeGPRS/WCDMA) changes. More...
|
class | CConnMonSignalStrengthChange |
| This event is triggered when signal strength changes. More...
|
class | CConnMonBearerAvailabilityChange |
| This event is triggered when the availability of some bearer changes. More...
|
class | CConnMonGenericEvent |
| This event is triggered when a plug-in sends a bearer specific event that is unknown to ConnMon. More...
|
class | CConnMonIapAvailabilityChange |
| This event is triggered when IAP availability changes. More...
|
class | CConnMonTransmitPowerChange |
| This event is triggered when the used WLAN transmit power changes. More...
|
class | CConnMonSNAPsAvailabilityChange |
| This event is triggered when SNAP availability changes. More...
|
class | CConnMonNewWLANNetworkDetected |
| This event is triggered when new WLAN networks are detected during a WLAN scan. More...
|
class | CConnMonOldWLANNetworkLost |
| This event is triggered when one or more WLAN networks have been lost since the last WLAN scan. More...
|
class | CConnMonPacketDataUnavailable |
| This event is triggered when GPRS or WCDMA bearer availability changes, a phone call is started, or a phone call ends. More...
|
class | CConnMonPacketDataAvailable |
| This event is triggered when GPRS or WCDMA bearer availability changes, a phone call is started, or a phone call ends. More...
|
class | CConnMonBearerInfoChange |
| This event is triggered when there is a change in bearer information for an existing connection, or if the network mode changes e.g. More...
|
class | CConnMonBearerGroupChange |
| This event is triggered when there is a change in bearer group information for an existing connection. More...
|
Typedefs |
typedef TPckgBuf< TTime > | TConnMonTimeBuf |
| Package class definition for getting the TTime.
|
typedef TPckgBuf< TConnMonClientEnum > | TConnMonClientEnumBuf |
| Package class definition for getting the client information.
|
typedef TPckgBuf< TConnMonNetworkNames > | TConnMonNetworkNamesBuf |
| Package class definition for getting basic WLAN scan information.
|
typedef TPckgBuf< TConnMonIapInfo > | TConnMonIapInfoBuf |
| Package class definiton for getting available IAPs.
|
typedef TPckgBuf< TConnMonSNAPInfo > | TConnMonSNAPInfoBuf |
| Package class definiton for getting available SNAPs.
|
typedef TPckgBuf< TConnMonBearerGroupInfo > | TConnMonBearerGroupInfoBuf |
| Package class definiton for getting bearer group information.
|
typedef RPointerArray< CConnMonWlanNetwork > | RConnMonWlanNetworksPtrArray |
| Class definition for a pointer array of CConnMonWlanNetwork objects.
|
typedef RPointerArray< CConnMonWlanProbeRawBuffer > | RConnMonWlanProbeRawBuffersPtrArray |
| Class definition for a pointer array of CConnMonWlanProbeRawBuffer objects.
|
typedef RArray< TConnMonId > | RConnMonIdsArray |
| Class definition for an array of TConnMonId objects.
|
Enumerations |
enum | TConnMonBearerType {
EBearerUnknown = 0,
EBearerCSD = 1,
EBearerWCDMA = 2,
EBearerLAN = 3,
EBearerCDMA2000 = 4,
EBearerGPRS = 5,
EBearerHSCSD = 6,
EBearerEdgeGPRS = 7,
EBearerWLAN = 8,
EBearerBluetooth = 9,
EBearerVirtual = 10,
EBearerVirtualVPN = 11,
EBearerWcdmaCSD = 12,
EBearerExternalCSD = 30,
EBearerExternalWCDMA = 31,
EBearerExternalLAN = 32,
EBearerExternalCDMA2000 = 33,
EBearerExternalGPRS = 34,
EBearerExternalHSCSD = 35,
EBearerExternalEdgeGPRS = 36,
EBearerExternalWLAN = 37,
EBearerExternalBluetooth = 38,
EBearerExternalWcdmaCSD = 39
} |
| Bearer type. More...
|
enum | TConnMonBearerId {
EBearerIdAll = 0,
EBearerIdGPRS = 2000000,
EBearerIdWCDMA = 2000001,
EBearerIdCSD = 2000002,
EBearerIdGSM = 2000003,
EBearerIdWLAN = 2000004,
EBearerIdLAN = 2000005,
EBearerIdWcdmaCSD = 2000006,
EBearerIdCDMA2000 = 2000007,
EBearerIdVirtualVPN = 2000008
} |
| Bearer specific general connection ID. More...
|
enum | TConnMonNetworkStatus {
EConnMonStatusNotAvailable = 0,
EConnMonStatusUnattached,
EConnMonStatusAttached,
EConnMonStatusActive,
EConnMonStatusSuspended
} |
| Network status. More...
|
enum | TConnMonProtocolType {
EProtocolTypeUnknown = 0,
EProtocolTypeIPv4,
EProtocolTypeIPv6,
EProtocolTypeX25,
EProtocolTypePPP,
EProtocolTypeCDPD,
EProtocolTypeIP
} |
| Protocol type (type of PDP). More...
|
enum | TConnMonAsyncRequest {
EConnMonGetConnectionCount = 1,
EConnMonGetIntAttribute,
EConnMonGetUintAttribute,
EConnMonGetBoolAttribute,
EConnMonGetStringAttribute,
EConnMonGetPckgAttribute
} |
| Asyncronous request codes. More...
|
enum | TConnMonEvent {
EConnMonCreateConnection = 1,
EConnMonDeleteConnection = 2,
EConnMonCreateSubConnection = 3,
EConnMonDeleteSubConnection = 4,
EConnMonDownlinkDataThreshold = 5,
EConnMonUplinkDataThreshold = 6,
EConnMonNetworkStatusChange = 7,
EConnMonConnectionStatusChange = 8,
EConnMonConnectionActivityChange = 9,
EConnMonNetworkRegistrationChange = 10,
EConnMonBearerChange = 11,
EConnMonSignalStrengthChange = 12,
EConnMonBearerAvailabilityChange = 13,
EConnMonIapAvailabilityChange = 14,
EConnMonTransmitPowerChange = 15,
EConnMonSNAPsAvailabilityChange = 16,
EConnMonNewWLANNetworkDetected = 17,
EConnMonOldWLANNetworkLost = 18,
EConnMonPacketDataAvailable = 19,
EConnMonPacketDataUnavailable = 20,
EConnMonBearerInfoChange = 21,
EConnMonBearerGroupChange = 22,
EConnMonPluginEventBase = 4000000
} |
| Events sent by Connection Monitor. More...
|
enum | TConnMonNetworkRegistration {
ENetworkRegistrationNotAvailable = 0,
ENetworkRegistrationUnknown,
ENetworkRegistrationNoService,
ENetworkRegistrationEmergencyOnly,
ENetworkRegistrationSearching,
ENetworkRegistrationBusy,
ENetworkRegistrationHomeNetwork,
ENetworkRegistrationDenied,
ENetworkRegistrationRoaming
} |
| Network registration status. More...
|
enum | TQosTrafficClass { EQosTrafficClassConversational = 1,
EQosTrafficClassStreaming,
EQosTrafficClassInteractive,
EQosTrafficClassBackground
} |
| QoS. More...
|
enum | TQosDeliveryOrder { EQosDeliveryOrderYes = 1,
EQosDeliveryOrderNo
} |
| QoS. More...
|
enum | TQosErroneousSDUDelivery { EQosErroneousSDUDeliveryYes = 1,
EQosErroneousSDUDeliveryNo,
EQosErroneousSDUDeliveryUnspecified
} |
| QoS. More...
|
enum | TQosBitErrorRatio {
EQosBERFivePerHundred = 1,
EQosBEROnePerHundred,
EQosBERFivePerThousand,
EQosBEROnePerThousand,
EQosBEROnePerTenThousand,
EQosBEROnePerMillion
} |
| QoS. More...
|
enum | TQosSDUErrorRatio {
EQosSDUErrorRatioOnePerHundred = 1,
EQosSDUErrorRatioSevenPerThousand,
EQosSDUErrorRatioOnePerThousand,
EQosSDUErrorRatioOnePerTenThousand,
EQosSDUErrorRatioOnePerHundredThousand
} |
| QoS. More...
|
enum | TConnMonRequests {
EReqGetConnectionCount = 0,
EReqGetConnectionInfo = 1,
EReqGetSubConnectionInfo = 2,
EReqGetIntAttribute = 3,
EReqGetUintAttribute = 4,
EReqGetBoolAttribute = 5,
EReqGetStringAttribute = 6,
EReqGetPckgAttribute = 7,
EReqSetIntAttribute = 8,
EReqSetUintAttribute = 9,
EReqSetBoolAttribute = 10,
EReqSetStringAttribute = 11,
EReqSetPckgAttribute = 12,
EReqCancelAsyncRequest = 13,
EReqReceiveEvent = 14,
EReqCancelReceiveEvent = 15,
EReqPluginCreateSubSession = 500,
EReqPluginCloseSubSession = 501,
EReqPluginRegisterAttribute = 502,
EReqPluginCancelRegisterAttribute = 503,
EReqPluginEvent = 504,
EReqPluginGetQuery = 505,
EReqPluginCancelGetQuery = 506,
EReqPluginAttribute = 507,
EReqInternalSetThreshold = 600,
EReqInternalResetThreshold = 601
} |
| Client-server requests. More...
|
enum | TConnMonNetworkMode { EConnMonInfraStructure = 0,
EConnMonAdHoc = 1,
EConnMonSecureInfra = 2
} |
| WLAN connection modes. More...
|
enum | TConnMonSecurityMode {
EConnMonSecurityOpen = 0,
EConnMonSecurityWep = 1,
EConnMonSecurity802d1x = 2,
EConnMonSecurityWpa = 3,
EConnMonSecurityWpaPsk = 4
} |
| WLAN connection security modes. More...
|
enum | TConnMonMobilePhoneNetworkMode {
EConnMonNetworkModeUnknown = 0,
EConnMonNetworkModeUnregistered,
EConnMonNetworkModeGsm,
EConnMonNetworkModeAmps,
EConnMonNetworkModeCdma95,
EConnMonNetworkModeCdma2000,
EConnMonNetworkModeWcdma,
EConnMonNetworkModeTdcdma
} |
| Network Modes. More...
|
enum | TConnMonBearerGroup {
EBearerGroupUnknown = 0,
EBearerGroupCellular = 0x00000001,
EBearerGroupNonCellular = 0x00000002,
EBearerGroupCellularPacket = 0x00000004,
EBearerGroupCircuitSwitched = 0x00000008,
EBearerGroup2G = 0x00000010,
EBearerGroup2GPacket = 0x00000020,
EBearerGroup3G = 0x00000040,
EBearerGroup3GPacket = 0x00000080,
EBearerGroupHSPA = 0x00000100,
EBearerGroupLANBased = 0x00000200,
EBearerGroupWLAN = 0x00000400,
EBearerGroupIPOverConnectivityProtocol = 0x00000800,
EBearerGroupWired = 0x00001000,
EBearerGroupVirtual = 0x00002000
} |
| Bearer group definition, new values will be added to the end of the enumeration. More...
|
enum | TConnMonBearerInfo {
EBearerInfoUnknown = 0,
EBearerInfoCSD,
EBearerInfoWCDMA,
EBearerInfoLAN,
EBearerInfoCDMA2000,
EBearerInfoGPRS,
EBearerInfoHSCSD,
EBearerInfoEdgeGPRS,
EBearerInfoWLAN,
EBearerInfoBluetooth,
EBearerInfoVirtual,
EBearerInfoVirtualVPN,
EBearerInfoWcdmaCSD,
EBearerInfoHSDPA,
EBearerInfoHSUPA,
EBearerInfoHSxPA
} |
| Bearer definition, new values will be added to the end of the enumeration. More...
|
Variables |
const TUint | KBearer = 1 |
| Bearer, defined in TConnMonBearerType.
|
const TUint | KNetworkStatus = 2 |
| Network status, defined in TConnMonNetworkStatus.
|
const TUint | KConnectionStatus = 3 |
| Connection status, progress constants are from nifvar.h.
|
const TUint | KProtocolType = 4 |
| Protocol, defined in TConnMonProtocolType.
|
const TUint | KNetworkRegistration = 5 |
| Network registration values defined in TConnMonNetworkRegistration.
|
const TUint | KSignalStrength = 6 |
| Signal strength in dBm.
|
const TUint | KNetworkMode = 7 |
| WLAN mode, defined in TConnMonNetworkMode.
|
const TUint | KSecurityMode = 8 |
| WLAN connection security mode, defined in TConnMonSecurityMode.
|
const TUint | KBearerInfo = 9 |
| Bearer information, defined in TConnMonBearerInfo.
|
const TUint | KWlanScanCacheLifetime = 10 |
| Acceptable WLAN scan cache age in seconds.
|
const TUint | KTrafficClass = 30 |
| QoS - Not supported.
|
const TUint | KDeliveryOrder = 31 |
| QoS - Not supported.
|
const TUint | KErroneousSDUDelivery = 32 |
| QoS - Not supported.
|
const TUint | KResidualBitErrorRatio = 33 |
| QoS - Not supported.
|
const TUint | KSDUErrorRatio = 34 |
| QoS - Not supported.
|
const TUint | KDownlinkData = 100 |
| Downlink data in bytes.
|
const TUint | KUplinkData = 101 |
| Uplink data in bytes.
|
const TUint | KIAPId = 102 |
| Used IAP ID.
|
const TUint | KNetworkIdentifier = 103 |
| Network ID.
|
const TUint | KTransmitPower = 104 |
| WLAN transmit power in mW.
|
const TUint | KMobilePhoneNetworkMode = 105 |
| Current network mode, defined in TConnMonMobilePhoneNetworkMode.
|
const TUint | KMaximumBitrateDownlink = 130 |
| QoS - Not supported.
|
const TUint | KMaximumBitrateUplink = 131 |
| QoS - Not supported.
|
const TUint | KMaximumSDUSize = 132 |
| QoS - Not supported.
|
const TUint | KTransferDelay = 133 |
| QoS - Not supported.
|
const TUint | KGuaranteedBitrateDownlink = 134 |
| QoS - Not supported.
|
const TUint | KGuaranteedBitrateUplink = 135 |
| QoS - Not supported.
|
const TUint | KTrafficHandlingPriority = 136 |
| QoS - Not supported.
|
const TUint | KActivityTimeThreshold = 150 |
| Enables EConnMonConnectionActivityChange events.
|
const TUint | KDownlinkDataThreshold = 151 |
| Enables EConnMonDownlinkDataThreshold events.
|
const TUint | KUplinkDataThreshold = 152 |
| Enables EConnMonUplinkDataThreshold events.
|
const TUint | KBearerAvailabilityThreshold = 153 |
| Enables EConnMonBearerAvailabilityChange events.
|
const TUint | KSignalStrengthThreshold = 154 |
| Enables EConnMonSignalStrengthChange events.
|
const TUint | KBearerGroupThreshold = 155 |
| If set, disables EConnMonBearerChange events and enables EConnMonBearerInfoChange and EConnMonBearerGroupChange events instead.
|
const TUint | KWlanScanMaxDelay = 160 |
| Acceptable delay in seconds for receiving WLAN scan results.
|
const TUint | KConnectionActive = 200 |
| Connection activity.
|
const TUint | KBearerAvailability = 201 |
| Bearer availability.
|
const TUint | KPacketDataAvailability = 202 |
| Packet data availability.
|
const TUint | KConnectionStop = 250 |
| Stop a connection.
|
const TUint | KConnectionStopAll = 251 |
| Stop all connections.
|
const TUint | KIAPName = 300 |
| Name of used IAP.
|
const TUint | KAccessPointName = 301 |
| Name of used access point.
|
const TUint | KTelNumber = 302 |
| Used telephone number.
|
const TUint | KNetworkName = 303 |
| Name (SSID) of used WLAN.
|
const TUint | KWlanSsid = 304 |
| WLAN name (SSID) to be used in SSID scan (KWlanSsidNetworks).
|
const TUint | KStartTime = 400 |
| Connection start time.
|
const TUint | KClientInfo = 401 |
| All clients using a connection.
|
const TUint | KNetworkNames = 402 |
| Basic WLAN scan information.
|
const TUint | KIapAvailability = 403 |
| Available IAP IDs.
|
const TUint | KWLANNetworks = 404 |
| Deprecated.
|
const TUint | KSNAPsAvailability = 405 |
| Available SNAP IDs.
|
const TUint | KAvailableSNAPsIds = 406 |
| Available SNAP IDs, in a more flexible way.
|
const TUint | KWlanNetworks = 407 |
| WLAN scan results.
|
const TUint | KBearerGroupInfo = 408 |
| Bearer group information.
|
const TUint | KWlanSsidNetworks = 409 |
| WLAN SSID scan results.
|
const TUint | KWlanCurrentNetwork = 410 |
| Information about the currently used WLAN.
|
const TUint | KWlanProbeRawBuffers = 411 |
| Beacon frames from a WLAN scan.
|
const TUint | KConnMonPluginAttributeBase = 3000000 |
| Base value for plug-in specific attribute IDs.
|
const TUint | KConnMonMaxPluginDataSize = 512 |
| Maximum size of a plug-in's event data.
|
const TUint | KConnMonMaxStringAttributeLength = 64 |
| Maximum size of a plug-in's attribute.
|
const TUint | KConnMonMaxClientUids = 10 |
| Maximum number of clients contained in TConnMonClientEnum class.
|
const TUint | KConnMonMaxNetworkCount = 10 |
| Maximum number of WLANs contained in TConnMonNetworkNames class.
|
const TUint | KConnMonMaxIAPCount = 25 |
| Maximum number of IAPs contained in TConnMonIapInfo class.
|
const TUint | KConnMonMaxSNAPsCount = 25 |
| Maximum number of SNAPs contained in TConnMonSNAPInfo class.
|