TBTBasebandLinkState Class Reference

class TBTBasebandLinkState

Constructor & Destructor Documentation

TBTBasebandLinkState()

IMPORT_C TBTBasebandLinkState ( )

Constructor Start with default configuration

Member Functions Documentation

Authenticated()

IMPORT_C TBool Authenticated ( ) const

Return current authentication status

Encrypted()

IMPORT_C TBool Encrypted ( ) const

Return current encryption status

LinkMode()

IMPORT_C TBTLinkMode LinkMode ( ) const

Return current baseband link state

LinkRole()

IMPORT_C TBTBasebandRole LinkRole ( ) const

Return current baseband link role

LinkState()

IMPORT_C TLinkState LinkState ( ) const

Return current baseband link state

MaxSlots()

IMPORT_C TUint8 MaxSlots ( ) const

Return current baseband max slots

PacketTypes()

IMPORT_C TUint16 PacketTypes ( ) const

Return current baseband packet types

SetAuthenticated(TBool)

IMPORT_C void SetAuthenticated ( TBool aAuthenticated )

Set the authentication state

Parameters

TBool aAuthenticated TBool value indicates whether authentication is allowed or not

SetEncrypted(TBool)

IMPORT_C void SetEncrypted ( TBool aEncrypted )

Set the encryption state

Parameters

TBool aEncrypted TBool value indicates whether encryption is allowed or not

SetLinkMode(TBTLinkMode)

IMPORT_C void SetLinkMode ( TBTLinkMode aMode )

Set the link mode

Parameters

TBTLinkMode aMode TBool value indicates the BT link mode

SetLinkRole(TBTBasebandRole)

IMPORT_C void SetLinkRole ( TBTBasebandRole aRole )

Set the link role

Parameters

TBTBasebandRole aRole Bluetooth SIG specified values for specification of (piconet) role

SetLinkState(TLinkState)

IMPORT_C void SetLinkState ( TLinkState aState )

Set the link state

Parameters

TLinkState aState link state values

SetMaxSlots(TUint8)

IMPORT_C void SetMaxSlots ( TUint8 aMaxSlots )

Set the maximum types

Parameters

TUint8 aMaxSlots LMP maximum slot

SetPacketTypes(TUint16)

IMPORT_C void SetPacketTypes ( TUint16 aPacketTypes )

Set the packet types

Parameters

TUint16 aPacketTypes Bluetooth SIG specified packet types

Member Enumerations Documentation

Enum TLinkState

Enumerators

ELinkDown
ELinkPending
ELinkUp

Member Data Documentation

TBool iAuthenticated

TBool iAuthenticated [protected]

TBool iEncrypted

TBool iEncrypted [protected]

TLinkState iLinkState

TLinkState iLinkState [protected]

TUint8 iMaxSlots

TUint8 iMaxSlots [protected]

TBTLinkMode iMode

TBTLinkMode iMode [protected]

TUint16 iPacketTypes

TUint16 iPacketTypes [protected]

TBTBasebandRole iRole

TBTBasebandRole iRole [protected]