issues
search
santigimeno
/
node-pcsclite
Bindings over pcsclite to access Smart Cards
ISC License
170
stars
127
forks
source link
src: improve get_card_readers logic
#52
Closed
santigimeno
closed
8 years ago
santigimeno
commented
8 years ago
Use SCARD_AUTOALLOCATE if available. It avoids one extra call to SCardListReaders.
If it's not available handle SCARD_E_INSUFFICIENT_BUFFER error by retrying get_card_readers.