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

Error on Win 10 whiile CONNECT_MODE_DIRECT #66

Open
IrakliTabagari opened this issue Jan 18, 2019 · 1 comment
Open

Error on Win 10 whiile CONNECT_MODE_DIRECT #66

IrakliTabagari opened this issue Jan 18, 2019 · 1 comment
Labels
platform: Windows Windows specific issues

Comments

@IrakliTabagari
Copy link

Hi,
Any progress connecting directly on Win 10?

try {
		await reader.connect(CONNECT_MODE_DIRECT);
		await reader.setBuzzerOutput(false);
		await reader.disconnect();
	} catch (err) {
		console.log(err);
	}

{ ControlError: An error occurred while transmitting control.
at reader.control (...\node_modules\nfc-pcsc\dist\Reader.js:260:25)
at ...\node_modules@pokusew\pcsclite\lib\pcsclite.js:170:11
name: 'ControlError',
code: 'failure',
previous: Error: SCardControl error: Incorrect function.
(0x00000001) }

@Franx0
Copy link

Franx0 commented Feb 13, 2019

@IrakliTabagari it looks like your are trying to execute control method before connect your reader, could you show us your block code to see if you are attempting to execute control before connect?

@pokusew pokusew added the platform: Windows Windows specific issues label Jan 25, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Windows Windows specific issues
Projects
None yet
Development

No branches or pull requests

3 participants