santigimeno / node-pcsclite

Bindings over pcsclite to access Smart Cards
ISC License
170 stars 125 forks source link

Implement SCardGetReaderDeviceInstanceId() function #98

Open xenon-ua opened 2 years ago

xenon-ua commented 2 years ago

Hello. Could you add a getDeviceId() function into CardReader? The device id is more important value when there are several card readers, each with its own purpose. OS can give a different name to the same reader depending on the reboot, the sequence of connecting the readers to different USB ports. In the case when it is necessary to identify a specific reader from the set, the name of the reader in the OS is not suitable (only getting its identifier).