Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TransmitError on read smart card #102

Open
1sttati opened this issue Sep 2, 2020 · 0 comments
Open

TransmitError on read smart card #102

1sttati opened this issue Sep 2, 2020 · 0 comments

Comments

@1sttati
Copy link

1sttati commented Sep 2, 2020

Hello,

I usually getting this error when I plug the smart card into the card reader.

{ TransmitError: An error occurred while transmitting.
    at reader.transmit (F:\cardReader\node_modules\nfc-pcsc\dist\Reader.js:241:25)
  name: 'TransmitError',
  code: 'failure',
  previous: Error: SCardTransmit error: A communications error with the smart card has been detected. Retry the operation.        
(0x8010002f) }

If I plug the smart card into the card reader first and then run the code after, I successfully get the card data.
But if I run the code before plugin the card, I will get an error.

Thankyou and sorry for my poor english.

@1sttati 1sttati changed the title TransmitError on re-read smart card TransmitError on read smart card Sep 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant