Search found 36 matches

by eslavko
Thu Dec 30, 2010 10:58 pm
Forum: V-USB
Topic: Example hid-data fixed block
Replies: 0
Views: 4469

Example hid-data fixed block

Hello... I just study and try to use hid-data example. I write windows host in freebasic (no libusb just API calls). The example as is just work. It has fixed data size. I can change descriptor to have smaller or biger block. Just wonder if is some chance to change block size on the fly. Or at least...
by eslavko
Wed Dec 22, 2010 12:00 pm
Forum: V-USB
Topic: usbFunctionSetup and usbFunctionWrite
Replies: 0
Views: 4498

usbFunctionSetup and usbFunctionWrite

Hello... I just wonder if I understand correctly. from usbFunctionSetup I can send data in any length (from static buffer) just need to assign usbMsgPtr to right place and return sizeof(Buffer). As I try seems to work. But in opposite side is not that easy as I understand. If the data is only 4 byte...
by eslavko
Tue Dec 21, 2010 10:37 am
Forum: V-USB
Topic: Libusb or not?
Replies: 9
Views: 7714

Re: Libusb or not?

Just want simplest interface (if it's possible without DLL's on WinXP) and to be able to send data of variable length in both ways.
by eslavko
Mon Dec 20, 2010 9:42 am
Forum: V-USB
Topic: Libusb or not?
Replies: 9
Views: 7714

Re: Libusb or not?

As far I understand that If I use API call instead libusb then I have only fixed data len (of 8). Is that true?
by eslavko
Sun Dec 19, 2010 11:05 pm
Forum: V-USB
Topic: Libusb or not?
Replies: 9
Views: 7714

Libusb or not?

Hello... I just have few question... If I use HID device can I send the data thru control endpoint 0? Do I must need the libusb or is that possible with standard vin API calls? What size of data can be send in control endpoint 0? I need to send data packet as short as 5 bytes but can be long 250 byt...
by eslavko
Sat Dec 18, 2010 6:46 pm
Forum: V-USB
Topic: What aproach to use?
Replies: 0
Views: 4470

What aproach to use?

Hello... I want to make inexpensive IrDA interface for some my instrument. The speed used is 9600 but packet are short (aprox 150 bytes). So I just thunk to use V_USB to link together. I just test stuff with tiny85 if work at all. And DualTraceScope, EasyLogger and i2c_tiny_usb just works. So now is...