RUsbPipe Class Reference

class RUsbPipe

Functions which act on an individual pipe established between the local host and a remote device.

Constructor & Destructor Documentation

RUsbPipe()

RUsbPipe ( ) [inline]

Member Functions Documentation

CancelAllTransfers()

void CancelAllTransfers ( ) [inline]

Cancel all queued transfers

ClearRemoteStall()

TInt ClearRemoteStall ( ) [inline]

Clear a stall on the remote endpoint.

Close()

void Close ( ) [inline]

Close a pipe to a remote device.

GetBusId(TUsbBusId &)

TInt GetBusId ( TUsbBusId & aBusId ) [inline]

Get Bus ID

Parameters

TUsbBusId & aBusId

GetEndpointDescriptor(TUsbEndpointDescriptor &)

TInt GetEndpointDescriptor ( TUsbEndpointDescriptor & aDescriptor ) [inline]

Return the section of the USB Configuration Descriptor under the supplied endpoint.

Parameters

TUsbEndpointDescriptor & aDescriptor The descriptor tree for this endpoint.

GetEndpointId(TUsbEndpointId &)

TInt GetEndpointId ( TUsbEndpointId & aEndpointId ) [inline]

Get endpoint ID

Parameters

TUsbEndpointId & aEndpointId

Handle()

TUint32 Handle ( ) const [inline]

IssueTransfer(TInt, TRequestStatus &)

void IssueTransfer ( TInt aTransferHandle,
TRequestStatus & aRequest
) [private, inline]

Issues a transfer.

Parameters

TInt aTransferHandle
TRequestStatus & aRequest

Transfer(RUsbTransferDescriptor &, TRequestStatus &)

IMPORT_C void Transfer ( RUsbTransferDescriptor & aTransfer,
TRequestStatus & aRequest
)

Queue a transfer.

Parameters

RUsbTransferDescriptor & aTransfer The transfer descriptor to execute.
TRequestStatus & aRequest Holds completion status of the transfer.

Member Enumerations Documentation

Enum TUsbPipeControl

Enumerators

EClose = 0x4000000
EAbort
EClearRemoteStall
EGetEndpointId

Enum TUsbPipeRequest

Enumerators

EIssueTransfer = 0x4000000

Member Data Documentation

TUint32 iHandle

TUint32 iHandle [private]

TUsbEndpointDescriptor * iHeadEndpointDescriptor

TUsbEndpointDescriptor * iHeadEndpointDescriptor [private]

RUsbInterface * iInterface

RUsbInterface * iInterface [private]