MCoreHci Class Reference

class MCoreHci

All non-static Bluetooth APIs needed by the HCI components are funnelled through this class to be handed out as the Core HCI sees fit.

Member Functions Documentation

MchCancelIoctl(TUint, TUint, TAny *)

void MchCancelIoctl ( TUint aLevel,
TUint aName,
TAny * aStackSAP
) [pure virtual]

Cancel HCI level Ioctl

Parameters

TUint aLevel The Ioctl level
TUint aName The Ioctl function number
TAny * aStackSAP A pointer to the SAP, used to track Ioctls

MchGetOption(TUint, TDes8 &)

TInt MchGetOption ( TUint aName,
TDes8 & aData
) [pure virtual]

Gets option.

Parameters

TUint aName option to set
TDes8 & aData descriptor to be filled with option data

MchHctlPluginInterface(const TUid)

TAny * MchHctlPluginInterface ( const TUid aUid ) [pure virtual]

HCI uses this function to return a pointer to an Interface provided by the HCTL plugin.

Parameters

const TUid aUid UID of the API to be retrieved from the HCTL.

MchIoctl(TUint, TUint, TDes8 *, TAny *)

void MchIoctl ( TUint aLevel,
TUint aName,
TDes8 * aOption,
TAny * aStackSAP
) [pure virtual]

HCI level Ioctl

Parameters

TUint aLevel The Ioctl level
TUint aName The Ioctl function number
TDes8 * aOption Data associated with this Ioctl
TAny * aStackSAP A pointer to the SAP, used to track Ioctls

MchSetChannelObserver(MHCTLChannelObserver &)

void MchSetChannelObserver ( MHCTLChannelObserver & aHCIChannelObserver ) [pure virtual]

HCI uses this function to be given a reference to MHCTLChannelObserver which is interested in the transport sub-channels.

Parameters

MHCTLChannelObserver & aHCIChannelObserver provides interface to the observer

MchSetCommandEventObserver(MHCICommandEventObserver &)

void MchSetCommandEventObserver ( MHCICommandEventObserver & aHCICommandEventObserver ) [pure virtual]

HCI uses this function to be given a reference to MHCICommandEventObserver which is interested in command related events.

Parameters

MHCICommandEventObserver & aHCICommandEventObserver provides interface to the observer

MchSetControllerStateObserver(MControllerStateObserver &)

void MchSetControllerStateObserver ( MControllerStateObserver & aHCIPowerStateObserver ) [pure virtual]

HCI uses this function to be given a reference to MControllerStateObserver which is interested in the state of the power to the Bluetooth chip.

Parameters

MControllerStateObserver & aHCIPowerStateObserver provides interface to the observer

MchSetDataEventObserver(MHCIDataEventObserver &)

void MchSetDataEventObserver ( MHCIDataEventObserver & aHCIDataEventObserver ) [pure virtual]

HCI uses this function to be given a reference to MHCIDataEventObserver which is interested in data related events.

Parameters

MHCIDataEventObserver & aHCIDataEventObserver provides interface to the observer

MchSetDataObserver(MHCIDataObserver &)

void MchSetDataObserver ( MHCIDataObserver & aHCIDataObserver ) [pure virtual]

HCI uses this function to be given a reference to MHCIDataObserver which is interested in incoming data.

Parameters

MHCIDataObserver & aHCIDataObserver provides interface to the observer

MchSetHCICommandQueue(MHCICommandQueue &)

void MchSetHCICommandQueue ( MHCICommandQueue & aHCICommandQueue ) [pure virtual]

HCI uses this function to be given a reference to MHCICommandQueue which allows it to manipulate the command queue when necessary.

Parameters

MHCICommandQueue & aHCICommandQueue provides interface to command queue

MchSetHardResetInitiator(MHardResetInitiator &)

void MchSetHardResetInitiator ( MHardResetInitiator & aHardResetInitiator ) [pure virtual]

HCI uses this function to be given a reference to MHardResetInitiator which allows it to initiate a hard reset of the controller.

Parameters

MHardResetInitiator & aHardResetInitiator provides interface to initiate a hard reset

MchSetOption(TUint, const TDesC8 &)

TInt MchSetOption ( TUint aName,
const TDesC8 & aData
) [pure virtual]

Sets option.

Parameters

TUint aName option to set
const TDesC8 & aData option value

MchSetPhysicalLinksState(MPhysicalLinksState &)

void MchSetPhysicalLinksState ( MPhysicalLinksState & aPhysicalLinksState ) [pure virtual]

HCI uses this function to be given a reference to MPhysicalLinksState

Parameters

MPhysicalLinksState & aPhysicalLinksState provides information about physical link