MControllerStateObserver Class Reference

class MControllerStateObserver

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

Member Functions Documentation

McsoProcessHardResetPhaseChange(TInt, TControllerChangeType, TBTHardResetState)

voidMcsoProcessHardResetPhaseChange(TIntaError,
TControllerChangeTypeaChangeType,
TBTHardResetStateaState
)[pure virtual]

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

Parameters

TInt aErrorAny error condition that has occurred.
TControllerChangeType aChangeTypeThe impact on the receiver of the call.
TBTHardResetState aStateThe new hard reset state (that has just been entered).

McsoProcessPowerChange(TInt, TControllerChangeType, TBTPowerState)

voidMcsoProcessPowerChange(TIntaError,
TControllerChangeTypeaChangeType,
TBTPowerStateaState
)[pure virtual]

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

Parameters

TInt aErrorAny error condition that has occurred.
TControllerChangeType aChangeTypeThe impact on the receiver of the call.
TBTPowerState aStateThe 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.