find_by_vid_pid


Description:

[ Version ( since = "0.1.0" ) ]
public Device find_by_vid_pid (uint16 vid, uint16 pid) throws Error

Finds a device based on its bus and address values.

Parameters:

this

a DeviceList

vid

a vendor ID

pid

a product ID

Returns:

a new Device, or null if not found.