CConnMonSignalStrengthChange Class 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 <
rconnmon.h>

Inherits CConnMonEventBase.


Detailed Description

This event is triggered when signal strength changes.

The connection ID passed in the event is a bearer specific connection ID (see TConnMonBearerId). This event is valid only for cellular (GPRS, WCDMA, etc.) bearers and not for other bearers, e.g. WLAN. The client must set KSignalStrengthThreshold to 1 to receive these events.

Dll CONNMON.LIB

Public Member Functions

 CConnMonSignalStrengthChange (const TUint aConnectionId, const TInt aSignalStrength)
 Constructor.
 ~CConnMonSignalStrengthChange ()
 Destructor.
IMPORT_C TInt SignalStrength () const
 Gets the signal strength.

Constructor & Destructor Documentation

CConnMonSignalStrengthChange::CConnMonSignalStrengthChange const TUint  aConnectionId,
const TInt  aSignalStrength
 

Constructor.

Parameters:
aConnectionId Connection ID.
aSignalStrength Signal strength in dBm.
CConnMonSignalStrengthChange::~CConnMonSignalStrengthChange  ) 
 

Destructor.


Member Function Documentation

IMPORT_C TInt CConnMonSignalStrengthChange::SignalStrength  )  const
 

Gets the signal strength.

Returns:
Signal strength in dBm.

The documentation for this class was generated from the following file:

Copyright © Nokia Corporation 2001-2007
Back to top