I’m working on a test program, that among other things tests to see if a headset correctly follows one of the topologies listed in section 7 of the “USB Audio Device Class Specification for Basic Audio Devices”, e.g., HS1, HS2, etc.
I know how to read the configuration descriptor to do this manually, but I’m not sure about programming a test to do this. Can I assume that all of the terminal IDs, UIDs, SIDs, etc. that make up the configuration to determine if the criteria is met for the above topologies are contained in interface 0? I don’t see where this is stated, but it appears to be the case.
I can read the configuration descriptor and parse it ok, but I need to know when to stop reading/parsing it.
Thx for any help that you can offer.
rob