hi all! i have been trying to solve this problem for
days and hope that someone could enligten me.
i need to send a control command together with some
data into a usb device.
i understand that the control command is sent throguh
the request.wValue attribute
however,how do i send both the control command and
the data?? do i put the data into the request.pData
attribute?? pls help! thks
SBmakebmRequestType(kUSBIn,
kUSBVendor,
kUSBDevice);
request.bRequest = 0x1; //
request.wValue = 3d40; //
request.wIndex = 0;
request.wLength = 0;
request.pData = &readbuffer;
result = (*intf)->ControlRequest(intf, 0, &request);
__________________________________
Do you Yahoo!?
Meet the all-new My Yahoo! - Try it today!
http://my.yahoo.com
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Usb mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/usb/email@hidden
This email sent to email@hidden