TLinkPolicy Class Reference

class TLinkPolicy

The following class captures all the link policy settings

Member Functions Documentation

IsModeAllowed(TBTLinkMode)

IMPORT_C TBoolIsModeAllowed(TBTLinkModeaMode)const

Indicate whether a low power mode is allowed

Parameters

TBTLinkMode aModeBluetooth SIG specified values for indicating link modes

IsSwitchAllowed()

IMPORT_C TBoolIsSwitchAllowed()const

Indicate whether mode switch is allowed

LinkPolicy()

IMPORT_C TUint8LinkPolicy()const

Return current link policy

LowPowerModePolicy()

IMPORT_C TUint8LowPowerModePolicy()const

Return current low power mode policy

SetModeAllowed(TBTLinkMode, TBool)

IMPORT_C voidSetModeAllowed(TBTLinkMode,
TBoolaAllowed
)

Set permission or prohibition to a specific low power mode

Parameters

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

SetModesAllowed(TUint8)

IMPORT_C voidSetModesAllowed(TUint8aModesAllowed)

Set permission to low power modes

Parameters

TUint8 aModesAllowedthe low power modes to be allowed or not

SetSwitchAllowed(TBool)

IMPORT_C voidSetSwitchAllowed(TBoolaAllowed)

Set permission to low power modes switch

Parameters

TBool aAllowedthe low power modes switch to be allowed or not

Member Data Documentation

TUint8 iLowPowerModePolicy

TUint8 iLowPowerModePolicy[private]

TBool iSwitchAllowed

TBool iSwitchAllowed[private]