CHCTLUartBase Class Reference

class CHCTLUartBase : public CHCTLBase

An implementation of a HCTL Plugin, for use as a base class for UART based HCTL implementations.

This class directly implements the interfaces MHCTLInterface. It "exports" through the CHCTLBase::GetInterface function.

This class is intended to be derived from.

Inherits from

Constructor & Destructor Documentation

CHCTLUartBase()

IMPORT_CCHCTLUartBase()[protected]

~CHCTLUartBase()

IMPORT_C~CHCTLUartBase()

Member Functions Documentation

BaseConstructL(const TDesC &)

IMPORT_C voidBaseConstructL(const TDesC &aIniFileName)[protected]

Parameters

const TDesC & aIniFileName

CheckHardwareConnected()

IMPORT_C TBoolCheckHardwareConnected()[protected, virtual]

Common method used by UART derivative HCTLs to check hardware is connected

Interface(TUid)

IMPORT_C TAny *Interface(TUidaUid)[protected, virtual]

Retrieves an instance of an interface to functionality provided by the HCTL.

Parameters

TUid aUidUID of the API to be retrieved.

OpenPortL(TUint)

voidOpenPortL(TUintaPortNo)[private]

Common method used by UART derivative HCTLs to open the available physical UART connections for bluetooth hardware

Parameters

TUint aPortNo

Port()

IMPORT_C RBusDevComm &Port()[protected]

Accessor method for the port

PortOpenedL()

voidPortOpenedL()[private, pure virtual]

PowerCtrlMode()

IMPORT_C CHCTLUartBase::TPowerControlDetectionModePowerCtrlMode()const [protected]

ScanAndOpenPortL(TUint)

voidScanAndOpenPortL(TUintaStartingPortNo)[private]

Parameters

TUint aStartingPortNo

SetPortBaudRateL(TUint32)

IMPORT_C voidSetPortBaudRateL(TUint32aBaudRate)[protected]

Parameters

TUint32 aBaudRate

Member Enumerations Documentation

Enum TPowerControlDetectionMode

Enumerators

EPwrCtrlModeNone = 0x00
EPwrCtrlCTSTimedLow = 0x01

Member Data Documentation

MHCTLChannelObserver * iChannelObserver

MHCTLChannelObserver *iChannelObserver[protected]

MControllerStateObserver * iControllerStateObserver

MControllerStateObserver *iControllerStateObserver[protected]

MHCTLDataObserver * iDataObserver

MHCTLDataObserver *iDataObserver[protected]

MHCTLEventObserver * iEventObserver

MHCTLEventObserver *iEventObserver[protected]

TUint32 iPadding

TUint32 iPadding[private]

RBtBusDevComm * iPort

RBtBusDevComm *iPort[private]

TPowerControlDetectionMode iPowerCtrlMode

TPowerControlDetectionMode iPowerCtrlMode[private]