The IOUSBInterfaceInterface Class
The IOUSBInterfaceInterface
class is a user-space class that provides equivalent functionality to the IOUSBInterface
class used by kernel drivers. An application can obtain a reference to an IOUSBInterfaceInterface
class by iterating over the device's interfaces, as shown in Listing 15-5, or an application can obtain an IOUSBInterfaceInterface
object directly by creating a matching dictionary that specifies the service name kIOUSBInterfaceClassName
.
A USB interface contains one or more endpoints, which allow data to either be written to the device or data to be read from the device. A user-space USB driver is not limited in any way regarding the type of endpoints it is able to use; all endpoint types, including ...
Get OS X and iOS Kernel Programming now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.