RUsbBulkTransferDescriptor Class Reference

class RUsbBulkTransferDescriptor : public RUsbTransferDescriptor

Provides buffer management for Bulk transfers Intended to be available to 3rd parties later

Inherits from

Constructor & Destructor Documentation

RUsbBulkTransferDescriptor(TInt)

IMPORT_C RUsbBulkTransferDescriptor ( TInt aMaxSize )

Parameters

TInt aMaxSize

Member Functions Documentation

Buffer()

IMPORT_C TPtrC8 Buffer ( ) const

SaveData(TInt)

IMPORT_C void SaveData ( TInt aLength )

Update the transfer descriptor given the length of data supplied.

Parameters

TInt aLength Length of data to write or expect.

SetZlpStatus(TZlpStatus)

IMPORT_C void SetZlpStatus ( TZlpStatus aZlpStatus )

Parameters

TZlpStatus aZlpStatus the ZLP type to use for the transfer

WritableBuffer()

IMPORT_C TPtr8 WritableBuffer ( )