Mailing Lists: Apple Mailing Lists

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

reading from an interrupt Endpoint with HID fxs



I have been reading the example HID_Examples.

My understanding was that I have to recreate with xcode fxs
the structure I get with usb prober:
device info--> interface info ---> endpoint info

In the HID_Examples, First I obtain an io_object_t
"hidDevice" by searching with the
IOServiceGetMatchingServices for kIOHIDDeviceKey

then I obtain a IOHIDDeviceInterface ***hidDeviceInterface

>From there I expected to define two end points...

Instead the example defines an apriori cookie structure for
various characteristics of the joystick and concentrates
exclusively on "elements"

There is no way I can invent the kind of code I read in
HID_Examples. I can only follow it and try to understand
what if I anything I can use for my own purposes.

But I don't see what link there is between an interrupt IN
pipe which I need to read from and the cookies and elements
HID_example manipulates.

>From what I understand, endpoints and pipes are usb linguo,
and I need to write a usb application to get to it. I can't
get to it from HID because there is no example of it in
developer.apple.com. Do I understand the situation
correctly?

thanks

anne

 _______________________________________________
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: 
 >How to talk to a composite/HID USB device (From: Anne G <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.