MControllerStateObserver Class Reference

class MControllerStateObserver

Interface for receiving controller state change events. Power state and reset events.

Member Functions Documentation

McsoProcessHardResetPhaseChange(TInt, TControllerChangeType, TBTHardResetState)

void McsoProcessHardResetPhaseChange ( TInt aError,
TControllerChangeType aChangeType,
TBTHardResetState aState
) [pure virtual]

Called to signal that the hard reset process has reached a new state.

Parameters

TInt aError Any error condition that has occurred.
TControllerChangeType aChangeType The impact on the receiver of the call.
TBTHardResetState aState The new hard reset state (that has just been entered).

McsoProcessPowerChange(TInt, TControllerChangeType, TBTPowerState)

void McsoProcessPowerChange ( TInt aError,
TControllerChangeType aChangeType,
TBTPowerState aState
) [pure virtual]

Called to signal that a change in power state has occurred.

Parameters

TInt aError Any error condition that has occurred.
TControllerChangeType aChangeType The impact on the receiver of the call.
TBTPowerState aState The new power state (that has just been entered).

Member Enumerations Documentation

Enum TControllerChangeType

This is primarily to inform the stack what it needs to do. May also be used elsewhere within the HCI framework if required.

Enumerators

EBTNonFatalChange

No state changes in layers above required as a result of function call.

EBTFatalChange

State changes may be required in layers above required as a result of function call.