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_C CHCTLUartBase ( ) [protected]

~CHCTLUartBase()

IMPORT_C ~CHCTLUartBase ( )

Member Functions Documentation

BaseConstructL(const TDesC &)

IMPORT_C void BaseConstructL ( const TDesC & aIniFileName ) [protected]

Parameters

const TDesC & aIniFileName

CheckHardwareConnected()

IMPORT_C TBool CheckHardwareConnected ( ) [protected, virtual]

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

Interface(TUid)

IMPORT_C TAny * Interface ( TUid aUid ) [protected, virtual]

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

Parameters

TUid aUid UID of the API to be retrieved.

OpenPortL(TUint)

void OpenPortL ( TUint aPortNo ) [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()

void PortOpenedL ( ) [private, pure virtual]

PowerCtrlMode()

IMPORT_C CHCTLUartBase::TPowerControlDetectionMode PowerCtrlMode ( ) const [protected]

ScanAndOpenPortL(TUint)

void ScanAndOpenPortL ( TUint aStartingPortNo ) [private]

Parameters

TUint aStartingPortNo

SetPortBaudRateL(TUint32)

IMPORT_C void SetPortBaudRateL ( TUint32 aBaudRate ) [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]