THCICommandCompleteEvent Class Reference

class THCICommandCompleteEvent : public THCIEventBase

Inherits from

Public Member Functions
IMPORT_C THCICommandCompleteEvent & Cast (const THCIEventBase &)
IMPORT_C THCIOpcode CommandOpcode ()
IMPORT_C TUint8 NumHCICommandPackets ()
Protected Member Functions
THCICommandCompleteEvent ( TUint8 , TUint8 , THCIOpcode , TDes8 &)
THCICommandCompleteEvent (const TDesC8 &)
Inherited Functions
THCIEventBase::AsBluetoothDeviceName(TInt)const
THCIEventBase::AsConnectionHandle(TInt)const
THCIEventBase::AsConnectionHandle(TInt,TInt,TInt)const
THCIEventBase::AsDevAddr(TInt)const
THCIEventBase::AsDevAddr(TInt,TInt,TInt)const
THCIEventBase::AsLinkKey(TInt)const
THCIEventBase::AsLinkKey(TInt,TInt,TInt)const
THCIEventBase::AsNullTerminatedString(TInt)const
THCIEventBase::AsSimplePairingHash(TInt)const
THCIEventBase::AsSimplePairingRandomizer(TInt)const
THCIEventBase::AsString(TInt)const
THCIEventBase::AsTInt8(TInt)const
THCIEventBase::AsTInt8(TInt,TInt,TInt)const
THCIEventBase::AsTUint16(TInt)const
THCIEventBase::AsTUint16(TInt,TInt,TInt)const
THCIEventBase::AsTUint32(TInt,TInt,TInt,TUint8)const
THCIEventBase::AsTUint32(TInt,TUint8)const
THCIEventBase::AsTUint64(TInt)const
THCIEventBase::AsTUint64(TInt,TInt,TInt)const
THCIEventBase::AsTUint8(TInt)const
THCIEventBase::AsTUint8(TInt,TInt,TInt)const
THCIEventBase::CreateAndSendEvent(const TDesC8 &,MHCICommandEventObserver &,MHCIDataEventObserver &,TAny *)
THCIEventBase::ErrorCode()const
THCIEventBase::EventCode()const
THCIEventBase::PutConnectionHandle(THCIConnectionHandle,TDes8 &)
THCIEventBase::PutDevAddr(const TBTDevAddr &,TDes8 &)
THCIEventBase::PutEventCode(THCIEventCode,TDes8 &)
THCIEventBase::PutLinkKey(const TBTLinkKey,TDes8 &)
THCIEventBase::PutPaddedString(const TDesC8 &,TInt,TDes8 &)
THCIEventBase::PutSimplePairingHash(const TBluetoothSimplePairingHash &,TDes8 &)
THCIEventBase::PutSimplePairingRandomizer(const TBluetoothSimplePairingRandomizer &,TDes8 &)
THCIEventBase::PutString(const TDesC8 &,TDes8 &)
THCIEventBase::PutTInt8(TInt8,TDes8 &)
THCIEventBase::PutTUint16(TUint16,TDes8 &)
THCIEventBase::PutTUint32(TUint32,TUint8,TDes8 &)
THCIEventBase::PutTUint64(TUint64,TDes8 &)
THCIEventBase::PutTUint8(TUint8,TDes8 &)
THCIEventBase::THCIEventBase(THCIEventCode,TUint8,TDes8 &)
THCIEventBase::THCIEventBase(const TDesC8 &)
Public Attributes
const TUint KCommandCompleteCommonFieldsLength
const TUint KCommandOpcodeLength
const TUint KNumHCICommandPacketsLength
Inherited Attributes
THCIEventBase::KEventCodeLength
THCIEventBase::KEventCodeOffset
THCIEventBase::KEventCommonFieldsLength
THCIEventBase::KTotalParameterLengthLength
THCIEventBase::KTotalParameterLengthOffset
THCIEventBase::iErrorCode
THCIEventBase::iEventData

Constructor & Destructor Documentation

THCICommandCompleteEvent(TUint8, TUint8, THCIOpcode, TDes8 &)

THCICommandCompleteEvent ( TUint8 aParameterTotalLength,
TUint8 aNumHCICommandPackets,
THCIOpcode aCommandOpcode,
TDes8 & aEventData
) [protected]

This is used for creating a faked event. An emtpy event data buffer is supplied which must be populated. This is publishedPartner really.

Parameters

TUint8 aParameterTotalLength
TUint8 aNumHCICommandPackets
THCIOpcode aCommandOpcode
TDes8 & aEventData

THCICommandCompleteEvent(const TDesC8 &)

THCICommandCompleteEvent ( const TDesC8 & aEventData ) [protected]

This is used for creating an event object to wrap an existing event data buffer This is publishedPartner really.

Parameters

const TDesC8 & aEventData

Member Functions Documentation

Cast(const THCIEventBase &)

IMPORT_C THCICommandCompleteEvent & Cast ( const THCIEventBase & aEvent ) [static]

Casts a base event type to this specific class type

Parameters

const THCIEventBase & aEvent An instance of the HCI event data base class to be cast.

CommandOpcode()

IMPORT_C THCIOpcode CommandOpcode ( ) const

NumHCICommandPackets()

IMPORT_C TUint8 NumHCICommandPackets ( ) const

Member Data Documentation

const TUint KCommandCompleteCommonFieldsLength

const TUint KCommandCompleteCommonFieldsLength [static]

const TUint KCommandOpcodeLength

const TUint KCommandOpcodeLength [static]

const TUint KNumHCICommandPacketsLength

const TUint KNumHCICommandPacketsLength [static]