I am trying to use the ACR122U NFC Reader with the WebHID API but I cannot seem to get it to be found by Chrome 91 Desktop on both Linux nor Windows.
I know the browser is seeing the reader from chrome://usb-internals
showing me this screen:
The two pieces of code that I have tried so far is here seen through the Inspect Element tools in the script tag. The VendorID and ProductID in the scripts match that which Chrome can recognise it through, so I'm not sure why it is not working for this.
The only popup dialog that I have gotten the reader to appear within is the Chrome NFC WebUSB but I cannot use that API as it implements a protected class, which is why I am using WebHID as the alternative in hopes it may work.
How do I correct my code to allow Chrome to recognise this device; what am I missing?
I think this won't work because ARC122U NFC Reader doesn't implement the HID protocol. According to the product page, it uses the USB CCID protocol.