RBTBaseband Class Reference

class RBTBaseband

API useful for Bluetooth as seen from a single physical link perspective WARNING: For internal use ONLY. Compatibility is not guaranteed in future releases.

Public Member Functions
RBTBaseband()
voidActivateNotifierForOneShot(TBTBasebandEvent &, TRequestStatus &, TUint32)
voidActivateNotifierForRecall(TBTBasebandEvent &, TRequestStatus &, TUint32)
TInt ActivateParkRequester()
TInt ActivateSniffRequester()
TInt AllowLowPowerModes(TUint32)
TInt AllowRoleSwitch()
TInt Authenticate()
TInt BasebandState(TUint32 &)
TInt Broadcast(const TDesC8 &)
TInt CancelLowPowerModeRequester()
voidCancelNextBasebandChangeEventNotifier()
voidCancelPhysicalLinkMetricUpdate()
voidClose()
voidConnect(const TBTDevAddr &, TRequestStatus &)
voidConnect(const TPhysicalLinkQuickConnectionToken &, TRequestStatus &)
TInt Enumerate(RBTDevAddrArray &, TUint)
TInt Open(RSocketServ &, RSocket &)
TInt Open(RSocketServ &, const TBTDevAddr &)
TInt Open(RSocketServ &)
TInt PhysicalLinkState(TUint32 &)
TInt PreventLowPowerModes(TUint32)
TInt PreventRoleSwitch()
voidReadNewPhysicalLinkMetricValue(TRequestStatus &, TDes8 &, TBTLMIoctls)
TInt ReadRaw(TDes8 &)
TInt RequestChangeSupportedPacketTypes(TUint16)
TInt RequestExplicitActiveMode(TBool)
TInt RequestMasterRole()
TInt RequestSlaveRole()
voidShutdownPhysicalLink(TRequestStatus &)
TInt SubSessionHandle()
voidTerminateAllPhysicalLinks(TInt)
voidTerminateAllPhysicalLinks(TInt, TRequestStatus &)
voidTerminatePhysicalLink(TInt)
voidTerminatePhysicalLink(TInt, TRequestStatus &)
voidTerminatePhysicalLink(TInt, const TBTDevAddr &, TRequestStatus &)
Private Member Functions
TInt Construct()
voidDoConnect(TRequestStatus &)
TInt Enumerate(TDes8 &)
voidLocalComplete(TRequestStatus &, TInt)
TInt RequestRole(TBTLMOptions)
voidSetClientPending(TRequestStatus &)
Private Attributes
TRequestStatus *iClientRequestStatus
TBuf8< 1 >iConnectInData
TPhysicalLinkQuickConnectionTokenBuf iConnectToken
TBuf8< 1 >iDummySCOShutdownDescriptor
TUint32 iPadding1
TUint32 iPadding2
RSocket iSocket
TBTSockAddr iSocketAddress
TAny *iUnusedPointer

Constructor & Destructor Documentation

RBTBaseband()

RBTBaseband()

Member Functions Documentation

ActivateNotifierForOneShot(TBTBasebandEvent &, TRequestStatus &, TUint32)

voidActivateNotifierForOneShot(TBTBasebandEvent &aEventNotification,
TRequestStatus &aStatus,
TUint32aEventMask
)

Parameters

TBTBasebandEvent & aEventNotification
TRequestStatus & aStatus
TUint32 aEventMask

ActivateNotifierForRecall(TBTBasebandEvent &, TRequestStatus &, TUint32)

voidActivateNotifierForRecall(TBTBasebandEvent &aEventNotification,
TRequestStatus &aStatus,
TUint32aEventMask
)

Parameters

TBTBasebandEvent & aEventNotification
TRequestStatus & aStatus
TUint32 aEventMask

ActivateParkRequester()

TInt ActivateParkRequester()

ActivateSniffRequester()

TInt ActivateSniffRequester()

AllowLowPowerModes(TUint32)

TInt AllowLowPowerModes(TUint32aLowPowerModes)

Parameters

TUint32 aLowPowerModes

AllowRoleSwitch()

TInt AllowRoleSwitch()

Authenticate()

TInt Authenticate()

BasebandState(TUint32 &)

TInt BasebandState(TUint32 &aState)

Parameters

TUint32 & aState

Broadcast(const TDesC8 &)

TInt Broadcast(const TDesC8 &aData)

Parameters

const TDesC8 & aData

CancelLowPowerModeRequester()

TInt CancelLowPowerModeRequester()

CancelNextBasebandChangeEventNotifier()

voidCancelNextBasebandChangeEventNotifier()

CancelPhysicalLinkMetricUpdate()

voidCancelPhysicalLinkMetricUpdate()

Close()

voidClose()

Connect(const TBTDevAddr &, TRequestStatus &)

voidConnect(const TBTDevAddr &aDevAddr,
TRequestStatus &aStatus
)

Parameters

const TBTDevAddr & aDevAddr
TRequestStatus & aStatus

Connect(const TPhysicalLinkQuickConnectionToken &, TRequestStatus &)

voidConnect(const TPhysicalLinkQuickConnectionToken &aToken,
TRequestStatus &aStatus
)

Parameters

const TPhysicalLinkQuickConnectionToken & aToken
TRequestStatus & aStatus

Construct()

TInt Construct()[private]

DoConnect(TRequestStatus &)

voidDoConnect(TRequestStatus &aStatus)[private]

Parameters

TRequestStatus & aStatus

Enumerate(RBTDevAddrArray &, TUint)

TInt Enumerate(RBTDevAddrArray &aBTDevAddrArray,
TUintaMaxNumber
)

Parameters

RBTDevAddrArray & aBTDevAddrArray
TUint aMaxNumber

Enumerate(TDes8 &)

TInt Enumerate(TDes8 &aData)[private]

Parameters

TDes8 & aData

LocalComplete(TRequestStatus &, TInt)

voidLocalComplete(TRequestStatus &aStatus,
TIntaErr
)[private]

Parameters

TRequestStatus & aStatus
TInt aErr

Open(RSocketServ &, RSocket &)

TInt Open(RSocketServ &aSocketServ,
RSocket &aSocket
)

Parameters

RSocketServ & aSocketServ
RSocket & aSocket

Open(RSocketServ &, const TBTDevAddr &)

TInt Open(RSocketServ &aSocketServ,
const TBTDevAddr &aDevAddr
)

Parameters

RSocketServ & aSocketServ
const TBTDevAddr & aDevAddr

Open(RSocketServ &)

TInt Open(RSocketServ &aSocketServ)

Parameters

RSocketServ & aSocketServ

PhysicalLinkState(TUint32 &)

TInt PhysicalLinkState(TUint32 &aState)

Parameters

TUint32 & aState

PreventLowPowerModes(TUint32)

TInt PreventLowPowerModes(TUint32aLowPowerModes)

Parameters

TUint32 aLowPowerModes

PreventRoleSwitch()

TInt PreventRoleSwitch()

ReadNewPhysicalLinkMetricValue(TRequestStatus &, TDes8 &, TBTLMIoctls)

voidReadNewPhysicalLinkMetricValue(TRequestStatus &aStatus,
TDes8 &aData,
TBTLMIoctlsaIoctl
)

Parameters

TRequestStatus & aStatus
TDes8 & aData
TBTLMIoctls aIoctl

ReadRaw(TDes8 &)

TInt ReadRaw(TDes8 &aData)

Parameters

TDes8 & aData

RequestChangeSupportedPacketTypes(TUint16)

TInt RequestChangeSupportedPacketTypes(TUint16aPacketTypes)

Parameters

TUint16 aPacketTypes

RequestExplicitActiveMode(TBool)

TInt RequestExplicitActiveMode(TBoolaActive)

Parameters

TBool aActive

RequestMasterRole()

TInt RequestMasterRole()

RequestRole(TBTLMOptions)

TInt RequestRole(TBTLMOptionsaRole)[private]

Parameters

TBTLMOptions aRole

RequestSlaveRole()

TInt RequestSlaveRole()

SetClientPending(TRequestStatus &)

voidSetClientPending(TRequestStatus &aStatus)[private]

Parameters

TRequestStatus & aStatus

ShutdownPhysicalLink(TRequestStatus &)

voidShutdownPhysicalLink(TRequestStatus &aStatus)

Parameters

TRequestStatus & aStatus

SubSessionHandle()

TInt SubSessionHandle()const

TerminateAllPhysicalLinks(TInt)

voidTerminateAllPhysicalLinks(TIntaReason)

Parameters

TInt aReason

TerminateAllPhysicalLinks(TInt, TRequestStatus &)

voidTerminateAllPhysicalLinks(TIntaReason,
TRequestStatus &aStatus
)

Parameters

TInt aReason
TRequestStatus & aStatus

TerminatePhysicalLink(TInt)

voidTerminatePhysicalLink(TIntaReason)

Parameters

TInt aReason

TerminatePhysicalLink(TInt, TRequestStatus &)

voidTerminatePhysicalLink(TIntaReason,
TRequestStatus &aStatus
)

Parameters

TInt aReason
TRequestStatus & aStatus

TerminatePhysicalLink(TInt, const TBTDevAddr &, TRequestStatus &)

voidTerminatePhysicalLink(TIntaReason,
const TBTDevAddr &aDevAddr,
TRequestStatus &aStatus
)

Parameters

TInt aReason
const TBTDevAddr & aDevAddr
TRequestStatus & aStatus

Member Data Documentation

TRequestStatus * iClientRequestStatus

TRequestStatus *iClientRequestStatus[private]

TBuf8< 1 > iConnectInData

TBuf8< 1 >iConnectInData[private]

TPhysicalLinkQuickConnectionTokenBuf iConnectToken

TPhysicalLinkQuickConnectionTokenBuf iConnectToken[private]

TBuf8< 1 > iDummySCOShutdownDescriptor

TBuf8< 1 >iDummySCOShutdownDescriptor[private]

TUint32 iPadding1

TUint32 iPadding1[private]

TUint32 iPadding2

TUint32 iPadding2[private]

RSocket iSocket

RSocket iSocket[private]

TBTSockAddr iSocketAddress

TBTSockAddr iSocketAddress[private]

TAny * iUnusedPointer

TAny *iUnusedPointer[private]