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...'
Public Member Functions | |
---|---|
RBTPhysicalLinkAdapter() | |
IMPORT_C TInt | ActivateActiveRequester() |
IMPORT_C TInt | ActivateParkRequester() |
IMPORT_C TInt | ActivateSniffRequester() |
IMPORT_C TInt | AllowLowPowerModes(TUint32) |
IMPORT_C TInt | AllowRoleSwitch() |
IMPORT_C TInt | Authenticate() |
IMPORT_C TInt | CancelLowPowerModeRequester() |
IMPORT_C void | CancelNextBasebandChangeEventNotifier() |
IMPORT_C void | Close() |
IMPORT_C TBool | IsOpen() |
IMPORT_C void | NotifyNextBasebandChangeEvent(TBTBasebandEvent &, TRequestStatus &, TUint32) |
IMPORT_C TInt | Open(RSocketServ &, RSocket &) |
IMPORT_C TInt | Open(RSocketServ &, const TBTDevAddr &) |
IMPORT_C TInt | PhysicalLinkState(TUint32 &) |
IMPORT_C TInt | PreventLowPowerModes(TUint32) |
IMPORT_C TInt | PreventRoleSwitch() |
IMPORT_C TInt | RequestChangeSupportedPacketTypes(TUint16) |
IMPORT_C TInt | RequestMasterRole() |
IMPORT_C TInt | RequestSlaveRole() |
Private Attributes | |
---|---|
RBTBaseband | iBTBaseband |
TUint32 | iPadding1 |
TUint32 | iPadding2 |
IMPORT_C TInt | AllowLowPowerModes | ( | TUint32 | aLowPowerModes | ) |
TUint32 aLowPowerModes |
IMPORT_C void | NotifyNextBasebandChangeEvent | ( | TBTBasebandEvent & | aEventNotification, |
TRequestStatus & | aStatus, | |||
TUint32 | aEventMask = ENotifyAnyPhysicalLinkState | |||
) |
TBTBasebandEvent & aEventNotification | |
TRequestStatus & aStatus | |
TUint32 aEventMask = ENotifyAnyPhysicalLinkState |
IMPORT_C TInt | Open | ( | RSocketServ & | aSocketServ, |
RSocket & | aSocket | |||
) |
RSocketServ & aSocketServ | |
RSocket & aSocket |
IMPORT_C TInt | Open | ( | RSocketServ & | aSocketServ, |
const TBTDevAddr & | aDevAddr | |||
) |
RSocketServ & aSocketServ | |
const TBTDevAddr & aDevAddr |
IMPORT_C TInt | PhysicalLinkState | ( | TUint32 & | aState | ) |
TUint32 & aState |
IMPORT_C TInt | PreventLowPowerModes | ( | TUint32 | aLowPowerModes | ) |
TUint32 aLowPowerModes |
IMPORT_C TInt | RequestChangeSupportedPacketTypes | ( | TUint16 | aPacketTypes | ) |
TUint16 aPacketTypes |