CVccWlanSignalLevelHandler Class Reference

class CVccWlanSignalLevelHandler : public CVccSignalLevelHandler

WLAN signal level observer

  TSignalLevelParams params = { 8e6, 8e6, 80, 40 };

  CMyClass::ConstructL()
      {
      iSignalLevelHandler = CVccWlanSignalLevelHandler::NewL( *this, params );
      iSignalLevelHandler->StartL();
      }

  CMyClass::StopMonitoring()
      {
      iSignalLevelHandler->Stop();
      }

  CMyClass::SetNewParametersAndStartL()
      {
      TSignalLevelParams params = { 8e6, 10e6, 80, 20 };

      iSignalLevelHandler->SetParams( params );

      // Start using new parameters
      iSignalLevelHandler->StartL();
      }

  CMyClass::~CMyClass()
      {
      delete iSignalLevelHandler;
      }


  CMyClass::WlanSignalChanged(
      TInt32 aRss,
      TSignalRssClass aRssClass )
      {
      // Signal level changed. Must do something
      if ( aRssClass == ESignalClassWeak )
          {
          // Do handover if the signal is very weak
          if ( aRss > EReallyBadSignalLevel )
              {
              }
          }
      }
vcchotrigger.dll
Since
S60 v3.2

Inherits from

Public Member Functions
~CVccWlanSignalLevelHandler()
CVccWlanSignalLevelHandler *NewL(MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)
CVccWlanSignalLevelHandler *NewLC(MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)
voidSetManualHoDone(TBool)
Private Member Functions
CVccWlanSignalLevelHandler(MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)
voidBssidChanged(TWlanBssid &)
voidCancelGetStrength()
voidConstructL()
voidDisableNotifications()
voidDoCancel()
voidEnableNotificationsL()
voidGetStrength()
voidNotifyChanges(TInt32, MVccSignalLevelObserver::TSignalStrengthClass)
voidOldNetworksLost()
voidRssChanged(TWlanRssClass, TUint)
voidRunL()
Inherited Functions
CActive::CActive(TInt)
CActive::Cancel()
CActive::Deque()
CActive::Extension_(TUint,TAny *&,TAny *)
CActive::IsActive()const
CActive::IsAdded()const
CActive::Priority()const
CActive::RunError(TInt)
CActive::SetActive()
CActive::SetPriority(TInt)
CActive::~CActive()
CBase::CBase()
CBase::Delete(CBase *)
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()
CTimer::After(TTimeIntervalMicroSeconds32)
CTimer::At(const TTime &)
CTimer::AtUTC(const TTime &)
CTimer::CTimer(TInt)
CTimer::HighRes(TTimeIntervalMicroSeconds32)
CTimer::Inactivity(TTimeIntervalSeconds)
CTimer::Lock(TTimerLockSpec)
CTimer::~CTimer()
CVccSignalLevelHandler::CVccSignalLevelHandler(MVccSignalLevelObserver &,const TSignalLevelParams &)
CVccSignalLevelHandler::SetParams(const TSignalLevelParams &)
CVccSignalLevelHandler::StartL()
CVccSignalLevelHandler::Stop()
CVccSignalLevelHandler::StrengthChanged()
CVccSignalLevelHandler::~CVccSignalLevelHandler()
Inherited Enumerations
CActive:TPriority
CVccSignalLevelHandler:TOperation
CVccSignalLevelHandler:TStrengthState
Private Attributes
TBool iManualHoDone
CVccEngPsProperty &iVccPsp
CWlanMgmtClient *iWlanMgmt
Inherited Attributes
CActive::iStatus
CVccSignalLevelHandler::iNotificationsOn
CVccSignalLevelHandler::iObserver
CVccSignalLevelHandler::iOperation
CVccSignalLevelHandler::iParams
CVccSignalLevelHandler::iState
CVccSignalLevelHandler::iStrength

Constructor & Destructor Documentation

CVccWlanSignalLevelHandler(MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)

CVccWlanSignalLevelHandler(MVccSignalLevelObserver &aObserver,
const TSignalLevelParams &aParams,
CVccEngPsProperty &aPsProperty
)[private]

C++ constructor

Since
S60 3.2

Parameters

MVccSignalLevelObserver & aObserverObserver which will be notified upon signal changes.
const TSignalLevelParams & aParamsParameters for the timer and signal levels.
CVccEngPsProperty & aPsProperty

~CVccWlanSignalLevelHandler()

~CVccWlanSignalLevelHandler()[virtual]

Destructor.

Member Functions Documentation

BssidChanged(TWlanBssid &)

voidBssidChanged(TWlanBssid &aNewBSSID)[private]

Parameters

TWlanBssid & aNewBSSID

CancelGetStrength()

voidCancelGetStrength()[private, virtual]

ConstructL()

voidConstructL()[private]

Symbian second-phase constructor

Since
S60 3.2

DisableNotifications()

voidDisableNotifications()[private, virtual]

DoCancel()

voidDoCancel()[private, virtual]

EnableNotificationsL()

voidEnableNotificationsL()[private, virtual]

GetStrength()

voidGetStrength()[private, virtual]

NewL(MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)

CVccWlanSignalLevelHandler *NewL(MVccSignalLevelObserver &aObserver,
const TSignalLevelParams &aParams,
CVccEngPsProperty &aPsProperty
)[static]

Two-phased constructor.

Parameters

MVccSignalLevelObserver & aObserverObserver which will be notified upon signal changes.
const TSignalLevelParams & aParamsParameters for the timer and signal levels.
CVccEngPsProperty & aPsProperty

NewLC(MVccSignalLevelObserver &, const TSignalLevelParams &, CVccEngPsProperty &)

CVccWlanSignalLevelHandler *NewLC(MVccSignalLevelObserver &aObserver,
const TSignalLevelParams &aParams,
CVccEngPsProperty &aPsProperty
)[static]

Two-phased constructor.

Parameters

MVccSignalLevelObserver & aObserverObserver which will be notified upon signal changes.
const TSignalLevelParams & aParamsParameters for the timer and signal levels.
CVccEngPsProperty & aPsProperty

NotifyChanges(TInt32, MVccSignalLevelObserver::TSignalStrengthClass)

voidNotifyChanges(TInt32aSignalStrength,
MVccSignalLevelObserver::TSignalStrengthClassaClass
)[private, virtual]

Parameters

TInt32 aSignalStrength
MVccSignalLevelObserver::TSignalStrengthClass aClass

OldNetworksLost()

voidOldNetworksLost()[private]

RssChanged(TWlanRssClass, TUint)

voidRssChanged(TWlanRssClassaRssClass,
TUintaRss
)[private]

Parameters

TWlanRssClass aRssClass
TUint aRss

RunL()

voidRunL()[private, virtual]

Overriding this because WLAN signal level handler needs to observe the signal level more frequently than GSM Signal Level Handler

SetManualHoDone(TBool)

voidSetManualHoDone(TBoolaValue)

for telling WLAN Signal Level Handler that manual HO is done or not done

Parameters

TBool aValue

Member Data Documentation

TBool iManualHoDone

TBool iManualHoDone[private]

indicates is manual HO done or not

CVccEngPsProperty & iVccPsp

CVccEngPsProperty &iVccPsp[private]

for informing the states

CWlanMgmtClient * iWlanMgmt

CWlanMgmtClient *iWlanMgmt[private]

WLAN management client. Own.