TVendorDebugEvent Class Reference

class TVendorDebugEvent : public THCIEventBase

Inherits from

Public Member Functions
TVendorDebugEvent(const TDesC8 &)
TVendorDebugEvent(THCIEventCode, const TDesC8 &, TDes8 &)
IMPORT_C TVendorDebugEvent &Cast(const THCIEventBase &)
IMPORT_C TPtrC8VendorDebugData()
IMPORT_C TPtrC8VendorDebugEvent()
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 &)
Inherited Attributes
THCIEventBase::KEventCodeLength
THCIEventBase::KEventCodeOffset
THCIEventBase::KEventCommonFieldsLength
THCIEventBase::KTotalParameterLengthLength
THCIEventBase::KTotalParameterLengthOffset
THCIEventBase::iErrorCode
THCIEventBase::iEventData

Constructor & Destructor Documentation

TVendorDebugEvent(const TDesC8 &)

IMPORT_CTVendorDebugEvent(const TDesC8 &aEventData)

Constructor for creating an event object to wrap existing event data

Parameters

const TDesC8 & aEventDatathe existing event data

TVendorDebugEvent(THCIEventCode, const TDesC8 &, TDes8 &)

IMPORT_CTVendorDebugEvent(THCIEventCodeaEventCode,
const TDesC8 &aEventPayload,
TDes8 &aEventData
)

Constructor for faking a Vendor Debug event

Parameters

THCIEventCode aEventCodethe event code for the event
const TDesC8 & aEventPayloadthe vendor-defined data content of the event
TDes8 & aEventDatabuffer where the faked event data will be constructed (must persist as long as the object)

Member Functions Documentation

Cast(const THCIEventBase &)

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

Static downcasting method

Parameters

const THCIEventBase & aEvent

VendorDebugData()

IMPORT_C TPtrC8VendorDebugData()const

Accessor method returning the vendor-defined payload of the event

VendorDebugEvent()

IMPORT_C TPtrC8VendorDebugEvent()const

Accessor method returning the whole of the event data including the event code and parameter total length fields