Missing information about compliance to UVC standard
damijans opened this issue · comments
uvc_get_device_descriptor() function should returns compliance to UVC standard in bcdUVC attribute of specified device descriptor argument. However this attribute is always set to 0.
By inspecting the code I found that uvc_get_device_descriptor() function does not fill bcdUVC attribute at all. Probably the reason is that bcvUVC information could be retrieved from UVC device handle, while uvc_get_device_descriptor() function is called with USB device handle. Thus my opinion is that bcdUVC attribute somehow does not belong to device descriptor structure which is used by uvc_get_device_descriptor().
As an alternative I have introduced additional function uvc_get_uvc_compliance() which somehow fulfill the set of functions which returns some data from opaque uvc_device_handle (uvc_get_input_terminals(), uvc_get_output_terminals(), uvc_get_processing_units()...)