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 void FinaliseCommand ()
IMPORT_C const TDesC8 & HCTLPayload ()
IMPORT_C CHctlCommandFrame * NewL ( TUint8 , TUint8 )
IMPORT_C void PutAFHHostChannelClassification (const TDesC8 &)
IMPORT_C void PutByte ( TUint8 )
IMPORT_C void PutBytes16 ( TUint16 )
IMPORT_C void PutBytes24 ( TUint32 )
IMPORT_C void PutBytes32 ( TUint32 )
IMPORT_C void PutBytes32 ( TUint32 , TUint8 )
IMPORT_C void PutConnectionHandle ( THCIConnectionHandle )
IMPORT_C void PutDevAddr (const TBTDevAddr &)
IMPORT_C void PutLinkKey (const TBTLinkKey &)
IMPORT_C void PutPaddedString (const TDesC8 &, TInt )
IMPORT_C void PutSimplePairingHash (const TBluetoothSimplePairingHash &)
IMPORT_C void PutSimplePairingRandomizer (const TBluetoothSimplePairingRandomizer &)
IMPORT_C void PutString (const TDesC8 &)
IMPORT_C void ResetCommand ()
IMPORT_C void SetOpcode ( 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 TUint8 KHCICommandLengthFieldLength
const TUint8 KHCICommandLengthFieldOffset
const TUint8 KHCICommandPacketHeaderLength
const TInt KHCIMaxCommandLength
Inherited Attributes
CHctlFrameBase::iFramePtr
CHctlFrameBase::iHctlFrame
CHctlFrameBase::iHctlHeaderSize
CHctlFrameBase::iHctlTrailerSize

Constructor & Destructor Documentation

CHctlCommandFrame(TUint8, TUint8)

CHctlCommandFrame ( TUint8 aHctlHeaderSize,
TUint8 aHctlTrailerSize
) [private]

Parameters

TUint8 aHctlHeaderSize
TUint8 aHctlTrailerSize

Member Functions Documentation

FinaliseCommand()

IMPORT_C void FinaliseCommand ( )

HCTLPayload()

IMPORT_C const TDesC8 & HCTLPayload ( ) const

NewL(TUint8, TUint8)

IMPORT_C CHctlCommandFrame * NewL ( TUint8 aHctlHeaderSize,
TUint8 aHctlTrailerSize
) [static]

Parameters

TUint8 aHctlHeaderSize
TUint8 aHctlTrailerSize

PutAFHHostChannelClassification(const TDesC8 &)

IMPORT_C void PutAFHHostChannelClassification ( const TDesC8 & aClassification )

Parameters

const TDesC8 & aClassification

PutByte(TUint8)

IMPORT_C void PutByte ( TUint8 aByte )

Parameters

TUint8 aByte

PutBytes16(TUint16)

IMPORT_C void PutBytes16 ( TUint16 aVal )

Parameters

TUint16 aVal

PutBytes24(TUint32)

IMPORT_C void PutBytes24 ( TUint32 aVal )

Parameters

TUint32 aVal

PutBytes32(TUint32)

IMPORT_C void PutBytes32 ( TUint32 aVal )

Parameters

TUint32 aVal

PutBytes32(TUint32, TUint8)

IMPORT_C void PutBytes32 ( TUint32 aVal,
TUint8 aNumOfBytes
)

Parameters

TUint32 aVal
TUint8 aNumOfBytes

PutConnectionHandle(THCIConnectionHandle)

IMPORT_C void PutConnectionHandle ( THCIConnectionHandle aConnectionHandle )

Parameters

THCIConnectionHandle aConnectionHandle

PutDevAddr(const TBTDevAddr &)

IMPORT_C void PutDevAddr ( const TBTDevAddr & aBdaddr )

Parameters

const TBTDevAddr & aBdaddr

PutLinkKey(const TBTLinkKey &)

IMPORT_C void PutLinkKey ( const TBTLinkKey & aLinkKey )

Parameters

const TBTLinkKey & aLinkKey

PutPaddedString(const TDesC8 &, TInt)

IMPORT_C void PutPaddedString ( const TDesC8 & aString,
TInt aRequiredLength
)

Parameters

const TDesC8 & aString
TInt aRequiredLength

PutSimplePairingHash(const TBluetoothSimplePairingHash &)

IMPORT_C void PutSimplePairingHash ( const TBluetoothSimplePairingHash & aHash )

Parameters

const TBluetoothSimplePairingHash & aHash

PutSimplePairingRandomizer(const TBluetoothSimplePairingRandomizer &)

IMPORT_C void PutSimplePairingRandomizer ( const TBluetoothSimplePairingRandomizer & aRandomizer )

Parameters

const TBluetoothSimplePairingRandomizer & aRandomizer

PutString(const TDesC8 &)

IMPORT_C void PutString ( const TDesC8 & aString )

Parameters

const TDesC8 & aString

ResetCommand()

IMPORT_C void ResetCommand ( )

SetOpcode(THCIOpcode)

IMPORT_C void SetOpcode ( THCIOpcode aOpcode )

Parameters

THCIOpcode aOpcode

Member Data Documentation

const TUint8 KHCICommandLengthFieldLength

const TUint8 KHCICommandLengthFieldLength [static]

const TUint8 KHCICommandLengthFieldOffset

const TUint8 KHCICommandLengthFieldOffset [static]

const TUint8 KHCICommandPacketHeaderLength

const TUint8 KHCICommandPacketHeaderLength [static]

const TInt KHCIMaxCommandLength

const TInt KHCIMaxCommandLength [static]