CHctlCommandFrame Class Reference

class CHctlCommandFrame : public CHctlFrameBase

Class representing an Hctl Command Frame as specified in the Bluetooth Core Specification, HCI Section

Inherits from

Public Member Functions
IMPORT_C voidFinaliseCommand()
IMPORT_C const TDesC8 &HCTLPayload()
IMPORT_C CHctlCommandFrame *NewL(TUint8, TUint8)
IMPORT_C voidPutAFHHostChannelClassification(const TDesC8 &)
IMPORT_C voidPutByte(TUint8)
IMPORT_C voidPutBytes16(TUint16)
IMPORT_C voidPutBytes24(TUint32)
IMPORT_C voidPutBytes32(TUint32)
IMPORT_C voidPutBytes32(TUint32, TUint8)
IMPORT_C voidPutConnectionHandle(THCIConnectionHandle)
IMPORT_C voidPutDevAddr(const TBTDevAddr &)
IMPORT_C voidPutLinkKey(const TBTLinkKey &)
IMPORT_C voidPutPaddedString(const TDesC8 &, TInt)
IMPORT_C voidPutSimplePairingHash(const TBluetoothSimplePairingHash &)
IMPORT_C voidPutSimplePairingRandomizer(const TBluetoothSimplePairingRandomizer &)
IMPORT_C voidPutString(const TDesC8 &)
IMPORT_C voidResetCommand()
IMPORT_C voidSetOpcode(THCIOpcode)
Private Member Functions
CHctlCommandFrame(TUint8, TUint8)
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CHctlFrameBase::CHctlFrameBase(TUint8,TUint8)
CHctlFrameBase::ConstructL(TUint32)
CHctlFrameBase::~CHctlFrameBase()
Public Attributes
const TUint8KHCICommandLengthFieldLength
const TUint8KHCICommandLengthFieldOffset
const TUint8KHCICommandPacketHeaderLength
const TIntKHCIMaxCommandLength
Inherited Attributes
CHctlFrameBase::iFramePtr
CHctlFrameBase::iHctlFrame
CHctlFrameBase::iHctlHeaderSize
CHctlFrameBase::iHctlTrailerSize

Constructor & Destructor Documentation

CHctlCommandFrame(TUint8, TUint8)

CHctlCommandFrame(TUint8aHctlHeaderSize,
TUint8aHctlTrailerSize
)[private]

Parameters

TUint8 aHctlHeaderSize
TUint8 aHctlTrailerSize

Member Functions Documentation

FinaliseCommand()

IMPORT_C voidFinaliseCommand()

HCTLPayload()

IMPORT_C const TDesC8 &HCTLPayload()const

NewL(TUint8, TUint8)

IMPORT_C CHctlCommandFrame *NewL(TUint8aHctlHeaderSize,
TUint8aHctlTrailerSize
)[static]

Parameters

TUint8 aHctlHeaderSize
TUint8 aHctlTrailerSize

PutAFHHostChannelClassification(const TDesC8 &)

IMPORT_C voidPutAFHHostChannelClassification(const TDesC8 &aClassification)

Parameters

const TDesC8 & aClassification

PutByte(TUint8)

IMPORT_C voidPutByte(TUint8aByte)

Parameters

TUint8 aByte

PutBytes16(TUint16)

IMPORT_C voidPutBytes16(TUint16aVal)

Parameters

TUint16 aVal

PutBytes24(TUint32)

IMPORT_C voidPutBytes24(TUint32aVal)

Parameters

TUint32 aVal

PutBytes32(TUint32)

IMPORT_C voidPutBytes32(TUint32aVal)

Parameters

TUint32 aVal

PutBytes32(TUint32, TUint8)

IMPORT_C voidPutBytes32(TUint32aVal,
TUint8aNumOfBytes
)

Parameters

TUint32 aVal
TUint8 aNumOfBytes

PutConnectionHandle(THCIConnectionHandle)

IMPORT_C voidPutConnectionHandle(THCIConnectionHandleaConnectionHandle)

Parameters

THCIConnectionHandle aConnectionHandle

PutDevAddr(const TBTDevAddr &)

IMPORT_C voidPutDevAddr(const TBTDevAddr &aBdaddr)

Parameters

const TBTDevAddr & aBdaddr

PutLinkKey(const TBTLinkKey &)

IMPORT_C voidPutLinkKey(const TBTLinkKey &aLinkKey)

Parameters

const TBTLinkKey & aLinkKey

PutPaddedString(const TDesC8 &, TInt)

IMPORT_C voidPutPaddedString(const TDesC8 &aString,
TIntaRequiredLength
)

Parameters

const TDesC8 & aString
TInt aRequiredLength

PutSimplePairingHash(const TBluetoothSimplePairingHash &)

IMPORT_C voidPutSimplePairingHash(const TBluetoothSimplePairingHash &aHash)

Parameters

const TBluetoothSimplePairingHash & aHash

PutSimplePairingRandomizer(const TBluetoothSimplePairingRandomizer &)

IMPORT_C voidPutSimplePairingRandomizer(const TBluetoothSimplePairingRandomizer &aRandomizer)

Parameters

const TBluetoothSimplePairingRandomizer & aRandomizer

PutString(const TDesC8 &)

IMPORT_C voidPutString(const TDesC8 &aString)

Parameters

const TDesC8 & aString

ResetCommand()

IMPORT_C voidResetCommand()

SetOpcode(THCIOpcode)

IMPORT_C voidSetOpcode(THCIOpcodeaOpcode)

Parameters

THCIOpcode aOpcode

Member Data Documentation

const TUint8 KHCICommandLengthFieldLength

const TUint8KHCICommandLengthFieldLength[static]

const TUint8 KHCICommandLengthFieldOffset

const TUint8KHCICommandLengthFieldOffset[static]

const TUint8 KHCICommandPacketHeaderLength

const TUint8KHCICommandPacketHeaderLength[static]

const TInt KHCIMaxCommandLength

const TIntKHCIMaxCommandLength[static]