THCINumOfCompletedPackets Class Reference

class THCINumOfCompletedPackets

Class for reporting the number of completed packets by either the host or the controller over the HCI API.

Although a simple TUint16 would be sufficient, as there are commands that require an array of the type to be provided as RArray instances are used as the API. The type contents RArrays use must be at a minimum 4 bytes in size. This class provides a 4 byte encapsulation of a 2 byte value representing the {Host,HC}NumOfCompletedPackets.

Constructor & Destructor Documentation

THCINumOfCompletedPackets()

IMPORT_C THCINumOfCompletedPackets ( )

THCINumOfCompletedPackets(TUint16)

IMPORT_C THCINumOfCompletedPackets ( TUint16 aNumOfCompletedPackets )

Parameters

TUint16 aNumOfCompletedPackets

Member Functions Documentation

NumOfCompletedPackets()

IMPORT_C TUint16 NumOfCompletedPackets ( ) const

operator TUint16()

IMPORT_C operator TUint16 ( ) const

operator=(TUint16)

IMPORT_C THCINumOfCompletedPackets & operator= ( TUint16 aNumOfCompletedPackets )

Parameters

TUint16 aNumOfCompletedPackets

Member Data Documentation

TUint16 iNumOfCompletedPackets

TUint16 iNumOfCompletedPackets [private]

TUint16 iPad

TUint16 iPad [private]