TLinkPolicy Class Reference

class TLinkPolicy

The following class captures all the link policy settings

Member Functions Documentation

IsModeAllowed(TBTLinkMode)

IMPORT_C TBool IsModeAllowed ( TBTLinkMode aMode ) const

Indicate whether a low power mode is allowed

Parameters

TBTLinkMode aMode Bluetooth SIG specified values for indicating link modes

IsSwitchAllowed()

IMPORT_C TBool IsSwitchAllowed ( ) const

Indicate whether mode switch is allowed

LinkPolicy()

IMPORT_C TUint8 LinkPolicy ( ) const

Return current link policy

LowPowerModePolicy()

IMPORT_C TUint8 LowPowerModePolicy ( ) const

Return current low power mode policy

SetModeAllowed(TBTLinkMode, TBool)

IMPORT_C void SetModeAllowed ( TBTLinkMode ,
TBool aAllowed
)

Set permission or prohibition to a specific low power mode

Parameters

TBTLinkMode Bluetooth SIG specified values for indicating link modes
TBool aAllowed the permission or prohibition to a specific low power mode

SetModesAllowed(TUint8)

IMPORT_C void SetModesAllowed ( TUint8 aModesAllowed )

Set permission to low power modes

Parameters

TUint8 aModesAllowed the low power modes to be allowed or not

SetSwitchAllowed(TBool)

IMPORT_C void SetSwitchAllowed ( TBool aAllowed )

Set permission to low power modes switch

Parameters

TBool aAllowed the low power modes switch to be allowed or not

Member Data Documentation

TUint8 iLowPowerModePolicy

TUint8 iLowPowerModePolicy [private]

TBool iSwitchAllowed

TBool iSwitchAllowed [private]