28#define U_BUILDER_SEARCH_MAX (16)
#define U_BUILDER_SEARCH_MAX
Max return of the number xrt_prober_device.
Definition u_builder_search.h:28
void u_builder_search(struct xrt_prober *xp, struct xrt_prober_device *const *xpdevs, size_t xpdev_count, const struct u_builder_search_filter *filters, size_t filter_count, struct u_builder_search_results *results)
Find all of the xrt_prober_device that matches any in the given list of u_builder_search_filter filte...
Definition u_builder_search.c:40
struct xrt_prober_device * u_builder_find_prober_device(struct xrt_prober_device *const *xpdevs, size_t xpdev_count, uint16_t vendor_id, uint16_t product_id, enum xrt_bus_type bus_type)
Find the first xrt_prober_device in the prober list.
Definition u_builder_search.c:19
A filter to match the against.
Definition u_builder_search.h:36
Results of a search of devices.
Definition u_builder_search.h:48
struct xrt_prober_device * xpdevs[(16)]
Out field of found xrt_prober_device.
Definition u_builder_search.h:50
size_t xpdev_count
Number of found devices.
Definition u_builder_search.h:53
A probed device, may or may not be opened.
Definition xrt_prober.h:88
uint16_t product_id
USB/Bluetooth product ID (PID)
Definition xrt_prober.h:97
uint16_t vendor_id
USB/Bluetooth vendor ID (VID)
Definition xrt_prober.h:92
The main prober that probes and manages found but not opened HMD devices that are connected to the sy...
Definition xrt_prober.h:135
Header holding common defines.
xrt_bus_type
Bus type of a device.
Definition xrt_prober.h:66