|
From: Dave H. <DAV...@ni...> - 2007-06-11 14:47:48
|
> -----Original Message-----
> From: lib...@li...=20
> [mailto:lib...@li...] On=20
> Behalf Of Adam Kropelin
> Sent: 2007 June 11 15:43
> To: lib...@li...
> Subject: Re: [Libusb-win32-devel] Everything but=20
> usb_bulk_read works...
>=20
> On Mon, Jun 11, 2007 at 03:23:38PM +0100, Dave Higton wrote:
> >=20
> > Error 22 is an invalid parameter. Input endpoint addresses
> > have to have the top bit set - this is incompatible with the
> > Linux version.
>=20
> It's not incompatible at all. Not setting that bit is a bug on any
> platform. It just so happens that Linux lets you get away with it.
It depends on your POV. When you talk to somebody, do you refer to
endpoint 0x81 or endpoint 1? I refer to 1, and I bet you do too.
Linux has explicit code to set the top bit so that either is equally
valid.
My vote is that I prefer the Linux way.
Dave
***************************************************************************=
***************************************************************************=
***************************************************************************=
****************
NICE CTI Systems UK Limited ("NICE") is registered in England under company=
number, 3403044. The registered office of NICE is at Tollbar Way, Hedge E=
nd, Southampton, Hampshire SO30 2ZP.
Confidentiality: This communication and any attachments are intended for th=
e above-named persons only and may be confidential and/or legally privilege=
d. Any opinions expressed in this communication are not necessarily those o=
f NICE. If this communication has come to you in error you must take no act=
ion based on it, nor must you copy or show it to anyone; please delete/dest=
roy and inform the sender by e-mail immediately.
Monitoring: NICE may monitor incoming and outgoing e-mails.
Viruses: Although we have taken steps toward ensuring that this e-mail and=
attachments are free from any virus, we advise that in keeping with good c=
omputing practice the recipient should ensure they are actually virus free.
***************************************************************************=
***************************************************************************=
***************************************************************************=
*******************
=20
|