On Mon, Mar 2, 2009 at 1:23 AM, Ramy <[email protected]> wrote:
>
> Hi All,
>
> this may be too basic question  but i am trying to understand.
>
> The endpoint address for the usb device is configured as 0x02 (out)
> and 0x82(in).
>
> I am trying to communicate with the host having endpoint address as
> 0x03(out) and 0x84(in).

How are you possibly trying to do that?

> is it mandatory that endpoint addresses  must be same on both host and
> device to communicate to each other.

Endpoint addresses are only on the device, the host uses them to talk to the
device.  If the host tries to talk to an endpoint the device doesn't have,
nothing happens (well the host should get some errors from the USB subsystem
within the kernel...)

Try reading over the USB documentation at www.usb.org for details about USB
endpoints and how things work.

good luck,

greg k-h

--~--~---------~--~----~------------~-------~--~----~
unsubscribe: [email protected]
website: http://groups.google.com/group/android-kernel
-~----------~----~----~----~------~----~------~--~---

Reply via email to