cancel
Showing results for 
Search instead for 
Did you mean: 

Beginner question on what constitutes a device USB interface

Vu.Andy
Associate III
Posted on August 24, 2016 at 18:00

Been reading through the USB document and going through the codes but still having a bit of trouble grasping the concept of an interface.

What would constitute an ''interface''?  Does it encapsulate a class with the associated class methods?

Where in the code does it bind the ''interface'' to the class?

When the host request for an ''interface'', what would it get in return or what would be the purpose of asking for an interface?

For example, if a device declares that it has three interface, how does it associates each interface to the actual firmware codes?

Thanks.
1 REPLY 1
sherman
Associate II
Posted on August 30, 2016 at 15:57

Hello vu.andy,

Can you show a reference to the interface you are seeing within the documentation?  This should help anyone clarify the meaning or help out with ambiguous documentation.