Re: [Libphidget-devel] libphidget newbie post...
Status: Alpha
Brought to you by:
jstrohm
|
From: Tom B. <tb...@ba...> - 2003-06-29 16:31:08
|
On Sun, 29 Jun 2003 fit...@ph... wrote: > > Hi Tom, jack, vadim, > > > sorry, I have that (the protocol). I just didn't expect the > > behaviour I got from the system for a buffer size mismatch. > > AFAIK, I'm pretty much homefree from here, the rest should be > > pretty trivial... just a case of finding another block of 5 > > hours... > > It's not just a buffer mismatch; it's the length of the packet. well, in most socket/file-descriptor communications it wouldn't be such a big deal... having read through some of the kernel source, the libusb code, and of course libphidget.c ... I think I'm ok now. I know I've been remiss in not reading as much of the USB documentation as I should. > Very good. > > > is there somewhere were these magic constants like > > "0x21, 0x09, 0x200" and the ones used to obtain the serial number > > are described? > > These are all HID commands. 0x21,0x09,0x200 is a SetReport packet. > http://www.usb.org/developers/hidpage/ Thanks! > > Chester > > > > > ------------------------------------------------------- > This SF.Net email sponsored by: Free pre-built ASP.NET sites including > Data Reports, E-commerce, Portals, and Forums are available now. > Download today and enter to win an XBOX or Visual Studio .NET. > http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01 > _______________________________________________ > Libphidget-devel mailing list > Lib...@li... > https://lists.sourceforge.net/lists/listinfo/libphidget-devel > ---------------------------------------------------------------------- tb...@Ba... | Don't go around saying the world owes you a living; http://BareMetal.com/ | the world owes you nothing; it was here first. web hosting since '95 | - Mark Twain |