rconnmon.h File Reference

Link against: ConnMon.lib

Capability Information

Required Capabilities

None

Exceptions

ReadDeviceData to call

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.

NetworkServices and NetworkControl to call

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.

ReadDeviceData to call

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.

ReadUserData to call

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.

NetworkControl to call

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.


#include <e32base.h>

Go to the source code of this file.


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.

Typedef Documentation

typedef RArray<TConnMonId> RConnMonIdsArray
 

Class definition for an array of TConnMonId objects.

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 TPckgBuf<TConnMonBearerGroupInfo> TConnMonBearerGroupInfoBuf
 

Package class definiton for getting bearer group information.

typedef TPckgBuf<TConnMonClientEnum> TConnMonClientEnumBuf
 

Package class definition for getting the client information.

typedef TPckgBuf<TConnMonIapInfo> TConnMonIapInfoBuf
 

Package class definiton for getting available IAPs.

typedef TPckgBuf<TConnMonNetworkNames> TConnMonNetworkNamesBuf
 

Package class definition for getting basic WLAN scan information.

typedef TPckgBuf<TConnMonSNAPInfo> TConnMonSNAPInfoBuf
 

Package class definiton for getting available SNAPs.

typedef TPckgBuf<TTime> TConnMonTimeBuf
 

Package class definition for getting the TTime.


Enumeration Type Documentation

enum TConnMonAsyncRequest
 

Asyncronous request codes.

Enumerator:
EConnMonGetConnectionCount 
EConnMonGetIntAttribute 
EConnMonGetUintAttribute 
EConnMonGetBoolAttribute 
EConnMonGetStringAttribute 
EConnMonGetPckgAttribute 
enum TConnMonBearerGroup
 

Bearer group definition, new values will be added to the end of the enumeration.

Enumerator:
EBearerGroupUnknown 
EBearerGroupCellular 
EBearerGroupNonCellular 
EBearerGroupCellularPacket 
EBearerGroupCircuitSwitched 
EBearerGroup2G 
EBearerGroup2GPacket 
EBearerGroup3G 
EBearerGroup3GPacket 
EBearerGroupHSPA 
EBearerGroupLANBased 
EBearerGroupWLAN 
EBearerGroupIPOverConnectivityProtocol 
EBearerGroupWired 
EBearerGroupVirtual 
enum TConnMonBearerId
 

Bearer specific general connection ID.

Enumerator:
EBearerIdAll 
EBearerIdGPRS  Internal/external GPRS and EdgeGPRS.
EBearerIdWCDMA  Internal/external PSD (WCDMA).
EBearerIdCSD  Internal/external CSD and HSCSD (GSM).
EBearerIdGSM  Union of EBearerIdGPRS and EBearerIdCSD.
EBearerIdWLAN 
EBearerIdLAN 
EBearerIdWcdmaCSD  Internal/external CSD (WCDMA).
EBearerIdCDMA2000 
EBearerIdVirtualVPN 
enum TConnMonBearerInfo
 

Bearer definition, new values will be added to the end of the enumeration.

These are used if KBearerInfo attribute is set or in events if KBearerGroupThreshold is set.

Enumerator:
EBearerInfoUnknown 
EBearerInfoCSD 
EBearerInfoWCDMA 
EBearerInfoLAN 
EBearerInfoCDMA2000 
EBearerInfoGPRS 
EBearerInfoHSCSD 
EBearerInfoEdgeGPRS 
EBearerInfoWLAN 
EBearerInfoBluetooth 
EBearerInfoVirtual 
EBearerInfoVirtualVPN 
EBearerInfoWcdmaCSD 
EBearerInfoHSDPA 
EBearerInfoHSUPA 
EBearerInfoHSxPA 
enum TConnMonBearerType
 

Bearer type.

Enumerator:
EBearerUnknown 
EBearerCSD  CSD (GSM).
EBearerWCDMA  PSD (WCDMA).
EBearerLAN 
EBearerCDMA2000 
EBearerGPRS 
EBearerHSCSD  HSCSD (GSM).
EBearerEdgeGPRS 
EBearerWLAN 
EBearerBluetooth 
EBearerVirtual 
EBearerVirtualVPN 
EBearerWcdmaCSD  CSD (WCDMA).
EBearerExternalCSD  external CSD (GSM)
EBearerExternalWCDMA  external PSD (WCDMA)
EBearerExternalLAN 
EBearerExternalCDMA2000 
EBearerExternalGPRS 
EBearerExternalHSCSD  external HSCSD (GSM)
EBearerExternalEdgeGPRS 
EBearerExternalWLAN 
EBearerExternalBluetooth 
EBearerExternalWcdmaCSD  external CSD (WCDMA)
enum TConnMonEvent
 

Events sent by Connection Monitor.

See SDK documentation for more details.

Enumerator:
EConnMonCreateConnection 
EConnMonDeleteConnection 
EConnMonCreateSubConnection  Not supported.
EConnMonDeleteSubConnection  Not supported.
EConnMonDownlinkDataThreshold 
EConnMonUplinkDataThreshold 
EConnMonNetworkStatusChange 
EConnMonConnectionStatusChange 
EConnMonConnectionActivityChange 
EConnMonNetworkRegistrationChange 
EConnMonBearerChange 
EConnMonSignalStrengthChange  For cellular, not WLAN.
EConnMonBearerAvailabilityChange 
EConnMonIapAvailabilityChange 
EConnMonTransmitPowerChange  For WLAN.
EConnMonSNAPsAvailabilityChange 
EConnMonNewWLANNetworkDetected 
EConnMonOldWLANNetworkLost 
EConnMonPacketDataAvailable 
EConnMonPacketDataUnavailable 
EConnMonBearerInfoChange 
EConnMonBearerGroupChange 
EConnMonPluginEventBase 
enum TConnMonMobilePhoneNetworkMode
 

Network Modes.

Enumerator:
EConnMonNetworkModeUnknown  Network mode is unknown.
EConnMonNetworkModeUnregistered  ME is not registered.
EConnMonNetworkModeGsm  GSM/GPRS or DCS1800 network.
EConnMonNetworkModeAmps  AMPS network (CDMA).
EConnMonNetworkModeCdma95  CDMA (IS-95) network.
EConnMonNetworkModeCdma2000  CDMA (cdma2000) network.
EConnMonNetworkModeWcdma  WCDMA (UTRA FDD) network.
EConnMonNetworkModeTdcdma  TD-CDMA (UTRA TDD) network (WCDMA).
enum TConnMonNetworkMode
 

WLAN connection modes.

Enumerator:
EConnMonInfraStructure 
EConnMonAdHoc 
EConnMonSecureInfra 
enum TConnMonNetworkRegistration
 

Network registration status.

Valid for CSD, GPRS and WCDMA.

Enumerator:
ENetworkRegistrationNotAvailable 
ENetworkRegistrationUnknown 
ENetworkRegistrationNoService 
ENetworkRegistrationEmergencyOnly 
ENetworkRegistrationSearching 
ENetworkRegistrationBusy 
ENetworkRegistrationHomeNetwork 
ENetworkRegistrationDenied 
ENetworkRegistrationRoaming 
enum TConnMonNetworkStatus
 

Network status.

Enumerator:
EConnMonStatusNotAvailable 
EConnMonStatusUnattached 
EConnMonStatusAttached 
EConnMonStatusActive 
EConnMonStatusSuspended 
enum TConnMonProtocolType
 

Protocol type (type of PDP).

It may not be available for some bearers (returns EProtocolTypeUnknown).

Enumerator:
EProtocolTypeUnknown 
EProtocolTypeIPv4 
EProtocolTypeIPv6 
EProtocolTypeX25 
EProtocolTypePPP 
EProtocolTypeCDPD 
EProtocolTypeIP  Connection uses both IPv4 and IPv6.
enum TConnMonRequests
 

Client-server requests.

Enumerator:
EReqGetConnectionCount 
EReqGetConnectionInfo 
EReqGetSubConnectionInfo 
EReqGetIntAttribute 
EReqGetUintAttribute 
EReqGetBoolAttribute 
EReqGetStringAttribute 
EReqGetPckgAttribute 
EReqSetIntAttribute 
EReqSetUintAttribute 
EReqSetBoolAttribute 
EReqSetStringAttribute 
EReqSetPckgAttribute 
EReqCancelAsyncRequest 
EReqReceiveEvent 
EReqCancelReceiveEvent 
EReqPluginCreateSubSession 
EReqPluginCloseSubSession 
EReqPluginRegisterAttribute 
EReqPluginCancelRegisterAttribute 
EReqPluginEvent 
EReqPluginGetQuery 
EReqPluginCancelGetQuery 
EReqPluginAttribute 
EReqInternalSetThreshold 
EReqInternalResetThreshold 
enum TConnMonSecurityMode
 

WLAN connection security modes.

Enumerator:
EConnMonSecurityOpen 
EConnMonSecurityWep 
EConnMonSecurity802d1x 
EConnMonSecurityWpa 
EConnMonSecurityWpaPsk 
enum TQosBitErrorRatio
 

QoS.

Residual bit error ratio.

Enumerator:
EQosBERFivePerHundred 
EQosBEROnePerHundred 
EQosBERFivePerThousand 
EQosBEROnePerThousand 
EQosBEROnePerTenThousand 
EQosBEROnePerMillion 
enum TQosDeliveryOrder
 

QoS.

Delivery order.

Enumerator:
EQosDeliveryOrderYes 
EQosDeliveryOrderNo 
enum TQosErroneousSDUDelivery
 

QoS.

Delivery of erroneous SDUs.

Enumerator:
EQosErroneousSDUDeliveryYes 
EQosErroneousSDUDeliveryNo 
EQosErroneousSDUDeliveryUnspecified 
enum TQosSDUErrorRatio
 

QoS.

SDU error ratio.

Enumerator:
EQosSDUErrorRatioOnePerHundred 
EQosSDUErrorRatioSevenPerThousand 
EQosSDUErrorRatioOnePerThousand 
EQosSDUErrorRatioOnePerTenThousand 
EQosSDUErrorRatioOnePerHundredThousand 
enum TQosTrafficClass
 

QoS.

Traffic class.

Enumerator:
EQosTrafficClassConversational 
EQosTrafficClassStreaming 
EQosTrafficClassInteractive 
EQosTrafficClassBackground 

Variable Documentation

const TUint KAccessPointName = 301
 

Name of used access point.

const TUint KActivityTimeThreshold = 150
 

Enables EConnMonConnectionActivityChange events.

0 means off, minimum allowed is 5 seconds.

const TUint KAvailableSNAPsIds = 406
 

Available SNAP IDs, in a more flexible way.

See ConnMonIdsArrayPckg.

const TUint KBearer = 1
 

Bearer, defined in TConnMonBearerType.

const TUint KBearerAvailability = 201
 

Bearer availability.

const TUint KBearerAvailabilityThreshold = 153
 

Enables EConnMonBearerAvailabilityChange events.

const TUint KBearerGroupInfo = 408
 

Bearer group information.

See TConnMonBearerGroupInfoBuf.

const TUint KBearerGroupThreshold = 155
 

If set, disables EConnMonBearerChange events and enables EConnMonBearerInfoChange and EConnMonBearerGroupChange events instead.

const TUint KBearerInfo = 9
 

Bearer information, defined in TConnMonBearerInfo.

const TUint KClientInfo = 401
 

All clients using a connection.

See TConnMonClientEnumBuf.

const TUint KConnectionActive = 200
 

Connection activity.

const TUint KConnectionStatus = 3
 

Connection status, progress constants are from nifvar.h.

const TUint KConnectionStop = 250
 

Stop a connection.

const TUint KConnectionStopAll = 251
 

Stop all connections.

const TUint KConnMonMaxClientUids = 10
 

Maximum number of clients contained in TConnMonClientEnum class.

const TUint KConnMonMaxIAPCount = 25
 

Maximum number of IAPs contained in TConnMonIapInfo class.

const TUint KConnMonMaxNetworkCount = 10
 

Maximum number of WLANs contained in TConnMonNetworkNames class.

const TUint KConnMonMaxPluginDataSize = 512
 

Maximum size of a plug-in's event data.

const TUint KConnMonMaxSNAPsCount = 25
 

Maximum number of SNAPs contained in TConnMonSNAPInfo class.

const TUint KConnMonMaxStringAttributeLength = 64
 

Maximum size of a plug-in's attribute.

const TUint KConnMonPluginAttributeBase = 3000000
 

Base value for plug-in specific attribute IDs.

const TUint KDeliveryOrder = 31
 

QoS - Not supported.

const TUint KDownlinkData = 100
 

Downlink data in bytes.

const TUint KDownlinkDataThreshold = 151
 

Enables EConnMonDownlinkDataThreshold events.

0 means off, minimum allowed is 4096 bytes.

const TUint KErroneousSDUDelivery = 32
 

QoS - Not supported.

const TUint KGuaranteedBitrateDownlink = 134
 

QoS - Not supported.

const TUint KGuaranteedBitrateUplink = 135
 

QoS - Not supported.

const TUint KIapAvailability = 403
 

Available IAP IDs.

See TConnMonIapInfoBuf.

const TUint KIAPId = 102
 

Used IAP ID.

const TUint KIAPName = 300
 

Name of used IAP.

const TUint KMaximumBitrateDownlink = 130
 

QoS - Not supported.

const TUint KMaximumBitrateUplink = 131
 

QoS - Not supported.

const TUint KMaximumSDUSize = 132
 

QoS - Not supported.

const TUint KMobilePhoneNetworkMode = 105
 

Current network mode, defined in TConnMonMobilePhoneNetworkMode.

const TUint KNetworkIdentifier = 103
 

Network ID.

const TUint KNetworkMode = 7
 

WLAN mode, defined in TConnMonNetworkMode.

const TUint KNetworkName = 303
 

Name (SSID) of used WLAN.

const TUint KNetworkNames = 402
 

Basic WLAN scan information.

See TConnMonNetworkNamesBuf.

const TUint KNetworkRegistration = 5
 

Network registration values defined in TConnMonNetworkRegistration.

const TUint KNetworkStatus = 2
 

Network status, defined in TConnMonNetworkStatus.

const TUint KPacketDataAvailability = 202
 

Packet data availability.

Can be blocked if phone call is active and no dual transfer mode support.

const TUint KProtocolType = 4
 

Protocol, defined in TConnMonProtocolType.

const TUint KResidualBitErrorRatio = 33
 

QoS - Not supported.

const TUint KSDUErrorRatio = 34
 

QoS - Not supported.

const TUint KSecurityMode = 8
 

WLAN connection security mode, defined in TConnMonSecurityMode.

const TUint KSignalStrength = 6
 

Signal strength in dBm.

const TUint KSignalStrengthThreshold = 154
 

Enables EConnMonSignalStrengthChange events.

const TUint KSNAPsAvailability = 405
 

Available SNAP IDs.

See TConnMonSNAPInfoBuf.

const TUint KStartTime = 400
 

Connection start time.

See TConnMonTimeBuf.

const TUint KTelNumber = 302
 

Used telephone number.

const TUint KTrafficClass = 30
 

QoS - Not supported.

const TUint KTrafficHandlingPriority = 136
 

QoS - Not supported.

const TUint KTransferDelay = 133
 

QoS - Not supported.

const TUint KTransmitPower = 104
 

WLAN transmit power in mW.

const TUint KUplinkData = 101
 

Uplink data in bytes.

const TUint KUplinkDataThreshold = 152
 

Enables EConnMonUplinkDataThreshold events.

0 means off, minimum allowed is 4096 bytes.

const TUint KWlanCurrentNetwork = 410
 

Information about the currently used WLAN.

See CConnMonWlanNetworksPtrArrayPckg.

const TUint KWlanNetworks = 407
 

WLAN scan results.

See CConnMonWlanNetworksPtrArrayPckg.

const TUint KWLANNetworks = 404
 

Deprecated.

Old WLAN scan results, use KWlanNetworks instead.

const TUint KWlanProbeRawBuffers = 411
 

Beacon frames from a WLAN scan.

See CConnMonWlanProbeRawBuffersPckg.

const TUint KWlanScanCacheLifetime = 10
 

Acceptable WLAN scan cache age in seconds.

Set to -1 to use device default. Only has meaning if KWlanScanMaxDelay is set to 0.

const TUint KWlanScanMaxDelay = 160
 

Acceptable delay in seconds for receiving WLAN scan results.

If set to 0 (default), KWlanScanCacheLifetime will be used.

const TUint KWlanSsid = 304
 

WLAN name (SSID) to be used in SSID scan (KWlanSsidNetworks).

const TUint KWlanSsidNetworks = 409
 

WLAN SSID scan results.

Scans for WLANs with a specific SSID. See CConnMonWlanNetworksPtrArrayPckg.


Copyright © Nokia Corporation 2001-2007
Back to top