Are endpoints and pipes unidirectional?

Do you have a question? Post it now! No Registration Necessary.  Now with pictures!

Threaded View

Hi folks,

I am reading USB 2.0 spec. and trying to get basic understanding about
USB 2.0 and OTG.

My question is "Are endpoints and pipes unidirectional?" I will
appreciate if anyone can give me some help .
The explanation of direction of endpoint and pipe on the specification
seems conflicted.

Quoted text here. Click to load it

Each endpoint is a simplex connection that supports data flow in one
direction: either input(from device to host) or output (from host to

This means "Endpoints are unidirectional," isn't it?

On page 34

5.3.2 Pipes
A USB pipe is an association between an endpoint on a device and
software on the host.

So, pipes are unidirectional as well, but on page 36

Message pipes allow communication flow in both directions.

It said pipes are bidirectional. How come the explanation is

On page 34,

The pipe that consists of the TWO endpoints with endpoint number zero
is called the Default Control Pipe.

=> The Default Control Pipe possesses two pipes with endpoint number
zero, but on page 36

The Default Control Pipe is always a message pipe.

There is only ONE pipe associated with Default Control Pipe. How come?


Re: Are endpoints and pipes unidirectional?

Quoted text here. Click to load it
snipped some
there`s a good article here on USB.

Site Timeline