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 ()
void ActivateNotifierForOneShot ( TBTBasebandEvent &, TRequestStatus &, TUint32 )
void ActivateNotifierForRecall ( TBTBasebandEvent &, TRequestStatus &, TUint32 )
TInt ActivateParkRequester ()
TInt ActivateSniffRequester ()
TInt AllowLowPowerModes ( TUint32 )
TInt AllowRoleSwitch ()
TInt Authenticate ()
TInt BasebandState ( TUint32 &)
TInt Broadcast (const TDesC8 &)
TInt CancelLowPowerModeRequester ()
void CancelNextBasebandChangeEventNotifier ()
void CancelPhysicalLinkMetricUpdate ()
void Close ()
void Connect (const TBTDevAddr &, TRequestStatus &)
void Connect (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 ()
void ReadNewPhysicalLinkMetricValue ( TRequestStatus &, TDes8 &, TBTLMIoctls )
TInt ReadRaw ( TDes8 &)
TInt RequestChangeSupportedPacketTypes ( TUint16 )
TInt RequestExplicitActiveMode ( TBool )
TInt RequestMasterRole ()
TInt RequestSlaveRole ()
void ShutdownPhysicalLink ( TRequestStatus &)
TInt SubSessionHandle ()
void TerminateAllPhysicalLinks ( TRequestStatus &)
void TerminateAllPhysicalLinksForPowerOff ( TRequestStatus &)
void TerminatePhysicalLink ( TInt )
void TerminatePhysicalLink ( TInt , TRequestStatus &)
void TerminatePhysicalLink ( TInt , const TBTDevAddr &, TRequestStatus &)
Private Member Functions
TInt Construct ()
void DoConnect ( TRequestStatus &)
TInt Enumerate ( TDes8 &)
void LocalComplete ( TRequestStatus &, TInt )
TInt RequestRole ( TBTLMOptions )
void SetClientPending ( 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)

void ActivateNotifierForOneShot ( TBTBasebandEvent & aEventNotification,
TRequestStatus & aStatus,
TUint32 aEventMask
)

Notification methods

Parameters

TBTBasebandEvent & aEventNotification
TRequestStatus & aStatus
TUint32 aEventMask

ActivateNotifierForRecall(TBTBasebandEvent &, TRequestStatus &, TUint32)

void ActivateNotifierForRecall ( TBTBasebandEvent & aEventNotification,
TRequestStatus & aStatus,
TUint32 aEventMask
)

Parameters

TBTBasebandEvent & aEventNotification
TRequestStatus & aStatus
TUint32 aEventMask

ActivateParkRequester()

TInt ActivateParkRequester ( )

ActivateSniffRequester()

TInt ActivateSniffRequester ( )

AllowLowPowerModes(TUint32)

TInt AllowLowPowerModes ( TUint32 aLowPowerModes )

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()

void CancelNextBasebandChangeEventNotifier ( )

CancelPhysicalLinkMetricUpdate()

void CancelPhysicalLinkMetricUpdate ( )

Close()

void Close ( )

Connect(const TBTDevAddr &, TRequestStatus &)

void Connect ( const TBTDevAddr & aDevAddr,
TRequestStatus & aStatus
)

Parameters

const TBTDevAddr & aDevAddr
TRequestStatus & aStatus

Connect(const TPhysicalLinkQuickConnectionToken &, TRequestStatus &)

void Connect ( const TPhysicalLinkQuickConnectionToken & aToken,
TRequestStatus & aStatus
)

Parameters

const TPhysicalLinkQuickConnectionToken & aToken
TRequestStatus & aStatus

Construct()

TInt Construct ( ) [private]

DoConnect(TRequestStatus &)

void DoConnect ( TRequestStatus & aStatus ) [private]

Parameters

TRequestStatus & aStatus

Enumerate(RBTDevAddrArray &, TUint)

TInt Enumerate ( RBTDevAddrArray & aBTDevAddrArray,
TUint aMaxNumber
)

Parameters

RBTDevAddrArray & aBTDevAddrArray
TUint aMaxNumber

Enumerate(TDes8 &)

TInt Enumerate ( TDes8 & aData ) [private]

Parameters

TDes8 & aData

LocalComplete(TRequestStatus &, TInt)

void LocalComplete ( TRequestStatus & aStatus,
TInt aErr
) [private]

Parameters

TRequestStatus & aStatus
TInt aErr

Open(RSocketServ &, RSocket &)

TInt Open ( RSocketServ & aSocketServ,
RSocket & aSocket
)

API useful for Bluetooth as seen from a single physical link perspective

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 )

API useful for Bluetooth as seen from a device perspective

Parameters

RSocketServ & aSocketServ

PhysicalLinkState(TUint32 &)

TInt PhysicalLinkState ( TUint32 & aState )

Parameters

TUint32 & aState

PreventLowPowerModes(TUint32)

TInt PreventLowPowerModes ( TUint32 aLowPowerModes )

Low power mode methods

Parameters

TUint32 aLowPowerModes

PreventRoleSwitch()

TInt PreventRoleSwitch ( )

Role change methods

ReadNewPhysicalLinkMetricValue(TRequestStatus &, TDes8 &, TBTLMIoctls)

void ReadNewPhysicalLinkMetricValue ( TRequestStatus & aStatus,
TDes8 & aData,
TBTLMIoctls aIoctl
)

Parameters

TRequestStatus & aStatus
TDes8 & aData
TBTLMIoctls aIoctl

ReadRaw(TDes8 &)

TInt ReadRaw ( TDes8 & aData )

NOT PROPERLY IMPLEMENTED - JUST A PLACE HOLDER REALLY

Parameters

TDes8 & aData

RequestChangeSupportedPacketTypes(TUint16)

TInt RequestChangeSupportedPacketTypes ( TUint16 aPacketTypes )

Packet method

Parameters

TUint16 aPacketTypes

RequestExplicitActiveMode(TBool)

TInt RequestExplicitActiveMode ( TBool aActive )

Parameters

TBool aActive

RequestMasterRole()

TInt RequestMasterRole ( )

RequestRole(TBTLMOptions)

TInt RequestRole ( TBTLMOptions aRole ) [private]

Private Methods

Parameters

TBTLMOptions aRole

RequestSlaveRole()

TInt RequestSlaveRole ( )

SetClientPending(TRequestStatus &)

void SetClientPending ( TRequestStatus & aStatus ) [private]

Parameters

TRequestStatus & aStatus

ShutdownPhysicalLink(TRequestStatus &)

void ShutdownPhysicalLink ( TRequestStatus & aStatus )

Parameters

TRequestStatus & aStatus

SubSessionHandle()

TInt SubSessionHandle ( ) const

TerminateAllPhysicalLinks(TRequestStatus &)

void TerminateAllPhysicalLinks ( TRequestStatus & aStatus )

Parameters

TRequestStatus & aStatus

TerminateAllPhysicalLinksForPowerOff(TRequestStatus &)

void TerminateAllPhysicalLinksForPowerOff ( TRequestStatus & aStatus )

Parameters

TRequestStatus & aStatus

TerminatePhysicalLink(TInt)

void TerminatePhysicalLink ( TInt aReason )

Parameters

TInt aReason

TerminatePhysicalLink(TInt, TRequestStatus &)

void TerminatePhysicalLink ( TInt aReason,
TRequestStatus & aStatus
)

Parameters

TInt aReason
TRequestStatus & aStatus

TerminatePhysicalLink(TInt, const TBTDevAddr &, TRequestStatus &)

void TerminatePhysicalLink ( TInt aReason,
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]