Reputation: 53536
I can access a DigitalPersona 4500 with the following code :
navigator.usb.requestDevice({ filters: [{ vendorId: 0x05ba }] })
.then(device => {
console.log(device.productName); // "VM56:3 U.are.U® 4500 Fingerprint Reader"
console.log(device.manufacturerName); // "VM56:4 DigitalPersona, Inc."
// ...
})
.catch(error => { console.error(error); });
Now, is it possible to open the device and start scanning?
(Disclaimer: I do not have access to the DP SDK because the devices I have access to were bought before I was hired, from some third party vendor and, after contacting them, they did not provide me with any support. The devices work just fine, so there are no plans to throw them away and replace them.)
Related questions
Upvotes: 1
Views: 2084
Reputation: 5629
With WebUSB, without clear documentation for the "DigitalPersona 4500" device and what USB commands this device supports, it's really hard but still possible with lucky guessing. I strongly recommend getting the device.
Check out https://web.dev/devices-introduction/ for tips on how do this. TLDR;
about://usb-internals
in Chromium-based browsers.Upvotes: 0