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.
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
Port()
Accessor method for the port
PortOpenedL()
void
|
PortOpenedL
|
(
|
)
|
[private, pure virtual]
|
ScanAndOpenPortL(TUint)
void
|
ScanAndOpenPortL
|
(
|
TUint
|
aStartingPortNo
|
)
|
[private]
|
SetPortBaudRateL(TUint32)
IMPORT_C void
|
SetPortBaudRateL
|
(
|
TUint32
|
aBaudRate
|
)
|
[protected]
|
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]
|
TPowerControlDetectionMode
iPowerCtrlMode
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.