December 2011
Intermediate to advanced
485 pages
15h 47m
English
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 ...
Read now
Unlock full access