TBTBasebandLinkState Class Reference

class TBTBasebandLinkState

Constructor & Destructor Documentation

TBTBasebandLinkState()

IMPORT_CTBTBasebandLinkState()

Constructor Start with default configuration

Member Functions Documentation

Authenticated()

IMPORT_C TBoolAuthenticated()const

Return current authentication status

Encrypted()

IMPORT_C TBoolEncrypted()const

Return current encryption status

LinkMode()

IMPORT_C TBTLinkModeLinkMode()const

Return current baseband link state

LinkRole()

IMPORT_C TBTBasebandRoleLinkRole()const

Return current baseband link role

LinkState()

IMPORT_C TLinkStateLinkState()const

Return current baseband link state

MaxSlots()

IMPORT_C TUint8MaxSlots()const

Return current baseband max slots

PacketTypes()

IMPORT_C TUint16PacketTypes()const

Return current baseband packet types

SetAuthenticated(TBool)

IMPORT_C voidSetAuthenticated(TBoolaAuthenticated)

Set the authentication state

Parameters

TBool aAuthenticatedTBool value indicates whether authentication is allowed or not

SetEncrypted(TBool)

IMPORT_C voidSetEncrypted(TBoolaEncrypted)

Set the encryption state

Parameters

TBool aEncryptedTBool value indicates whether encryption is allowed or not

SetLinkMode(TBTLinkMode)

IMPORT_C voidSetLinkMode(TBTLinkModeaMode)

Set the link mode

Parameters

TBTLinkMode aModeTBool value indicates the BT link mode

SetLinkRole(TBTBasebandRole)

IMPORT_C voidSetLinkRole(TBTBasebandRoleaRole)

Set the link role

Parameters

TBTBasebandRole aRoleBluetooth SIG specified values for specification of (piconet) role

SetLinkState(TLinkState)

IMPORT_C voidSetLinkState(TLinkStateaState)

Set the link state

Parameters

TLinkState aStatelink state values

SetMaxSlots(TUint8)

IMPORT_C voidSetMaxSlots(TUint8aMaxSlots)

Set the maximum types

Parameters

TUint8 aMaxSlotsLMP maximum slot

SetPacketTypes(TUint16)

IMPORT_C voidSetPacketTypes(TUint16aPacketTypes)

Set the packet types

Parameters

TUint16 aPacketTypesBluetooth 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]