RBTPhysicalLinkAdapter Class Reference

class RBTPhysicalLinkAdapter

Class to enable modification of a physical link:

Modifications may be requested or prevented (blocked). Whilst a modification is being prevented, any request to perform that modification by this or any other RBTPhysicalLinkAdapter client will be ignored. If a low power mode is being used on the physical link, a call to prevent that low power mode will, if possible, cause the physical link to exit that low power mode. An arbitration between all RBTPhysicalLinkAdapter clients will then occur to decide whether the physical link should remain active or enter another low power mode. (If all low power modes are prevented then that arbitration will result in the physical link remaining active.)

Methods to prevent modifications begin 'Prevent...'

Methods to cancel the prevention of modification begin 'Allow...'

Requests for low power mode modifications, and notification of modifications take the form of continuously repeated requests which can be switched on or switched off.

Only one low power mode requester may active on a single RBTPhysicalLinkAdapter client at a time. If several RBTPhysicalLinkAdapter clients have differing low power mode requests active at a given moment then the priority will be: Hold Sniff Park

Methods to perform these requests start 'Activate...'

Methods to cancel these requests start 'Cancel...'

Constructor & Destructor Documentation

RBTPhysicalLinkAdapter()

IMPORT_CRBTPhysicalLinkAdapter()

Member Functions Documentation

ActivateActiveRequester()

IMPORT_C TIntActivateActiveRequester()

ActivateParkRequester()

IMPORT_C TIntActivateParkRequester()

ActivateSniffRequester()

IMPORT_C TIntActivateSniffRequester()

AllowLowPowerModes(TUint32)

IMPORT_C TIntAllowLowPowerModes(TUint32aLowPowerModes)

Parameters

TUint32 aLowPowerModes

AllowRoleSwitch()

IMPORT_C TIntAllowRoleSwitch()

Authenticate()

IMPORT_C TIntAuthenticate()

CancelLowPowerModeRequester()

IMPORT_C TIntCancelLowPowerModeRequester()

CancelNextBasebandChangeEventNotifier()

IMPORT_C voidCancelNextBasebandChangeEventNotifier()

Close()

IMPORT_C voidClose()

IsOpen()

IMPORT_C TBoolIsOpen()const

NotifyNextBasebandChangeEvent(TBTBasebandEvent &, TRequestStatus &, TUint32)

IMPORT_C voidNotifyNextBasebandChangeEvent(TBTBasebandEvent &aEventNotification,
TRequestStatus &aStatus,
TUint32aEventMask = ENotifyAnyPhysicalLinkState
)

Parameters

TBTBasebandEvent & aEventNotification
TRequestStatus & aStatus
TUint32 aEventMask = ENotifyAnyPhysicalLinkState

Open(RSocketServ &, RSocket &)

IMPORT_C TIntOpen(RSocketServ &aSocketServ,
RSocket &aSocket
)

Parameters

RSocketServ & aSocketServ
RSocket & aSocket

Open(RSocketServ &, const TBTDevAddr &)

IMPORT_C TIntOpen(RSocketServ &aSocketServ,
const TBTDevAddr &aDevAddr
)

Parameters

RSocketServ & aSocketServ
const TBTDevAddr & aDevAddr

PhysicalLinkState(TUint32 &)

IMPORT_C TIntPhysicalLinkState(TUint32 &aState)

Parameters

TUint32 & aState

PreventLowPowerModes(TUint32)

IMPORT_C TIntPreventLowPowerModes(TUint32aLowPowerModes)

Parameters

TUint32 aLowPowerModes

PreventRoleSwitch()

IMPORT_C TIntPreventRoleSwitch()

RequestChangeSupportedPacketTypes(TUint16)

IMPORT_C TIntRequestChangeSupportedPacketTypes(TUint16aPacketTypes)

Parameters

TUint16 aPacketTypes

RequestMasterRole()

IMPORT_C TIntRequestMasterRole()

RequestSlaveRole()

IMPORT_C TIntRequestSlaveRole()

Member Data Documentation

RBTBaseband iBTBaseband

RBTBaseband iBTBaseband[private]

TUint32 iPadding1

TUint32 iPadding1[private]

TUint32 iPadding2

TUint32 iPadding2[private]