Mailing Lists: Apple Mailing Lists

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

newbie nds help!



 
 OUSBDevRequest   request;
 char              *readbuffer;
 
 request.bmRequestType = 
hi all! i ran into some problem and hope that someone
could enligten me. i understant 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 reply! 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!? 
> Yahoo! Mail - Helps protect you from nasty viruses. 
> http://promotions.yahoo.com/new_mail
>  _______________________________________________
> 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
> 



		
__________________________________ 
Do you Yahoo!? 
All your favorites on one personal page – Try My Yahoo!
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: 
 >reading wif ControlRequest (From: JX the nuts <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.