[ Version ( since = "0.2.8" ) ]
public Interface get_interface (uint8 class_id, uint8 subclass_id, uint8 protocol_id) throws Error
Gets the first interface that matches the vendor class interface descriptor.
If you want to find all the interfaces that match (there may be other 'alternate' interfaces you have to use get_interfaces and check each one manally.
this |
a Device |
class_id |
a device class, e.g. 0xff for VENDOR |
subclass_id |
a device subclass |
protocol_id |
a protocol number |
a Interface or null for not found |