find_by_vid_pid


Description:

[ Version ( since = "0.2.2" ) ]
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 Context

vid

a vendor ID

pid

a product ID

Returns:

a new Device, or null if not found.