Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: need desperate help!!



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

References: 
 >Re: need desperate help!! (From: "She Jian, Chia" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.