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: Sending generic USB messages?



In message <email@hidden>, Robert Palmer Jr wri
tes:
>Peter,
>
>There is some sample code on Apple's site for connecting to a USB  
>device and talking to it.  Don't remember the name/section - if you  
>can't find it, drop me a line privately and I'll dig up the name.   
>It's pretty simple, only caveat is that the sample code runs in  
>application space, not driver space, so the USB device has to be  
>plugged in when the search code executes or it won't find it.  It  
>will let you do the read/write thing - that's what I'm doing.

The problem is that the code fragment they give for that seems to work
with devices with no drivers.

However, someone on the USB list pointed me at setReport and getReport, which
appear to do what I want.

-s
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Darwin-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/darwin-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: Sending generic USB messages? (From: Robert Palmer Jr <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.