Ludovic Rousseau
Ludovic Rousseau
Maybe something like what https://github.com/coolbong/node-pcsc is doing? A synchronous transmit() and control() would be cool in a first step.
Maybe using async/await is the solution. Feel free to close the issue.
@boris-savic please follow http://pcsclite.alioth.debian.org/ccid.html#support
@Zoe314 I guess you are using Windows. Right?
@kevinfiraguay your Java program stops working when you try to send APDU commands? I am not sure what you are referring by "It". You should first try with a simple...
Using the old CT API is a bit strange these days. I am not sure you can change the protocol without a card reset. ``SCardReconnect()`` has the option SCARD_LEAVE_CARD but...
Try to use SCardSpy to log the PC/SC commands and possible errors https://www.idrix.fr/Root/content/category/7/25/46/
`SCARD_SHARE_SHARED` and `SCARD_RESET_CARD` are orthogonal constant values (they are not variables). One value is for `dwShareMode` parameter and the other is for `dwInitialization` parameter.
Most of your changes are nice. Maybe you should explain *why* the changes are needed.
In your test with the "Aktiv Rutoken SCR 3001" you can see in the logs: ``` 00000004 ifdhandler.c:2101:find_baud_rate() Card baud rate: 447500 00000003 ifdhandler.c:2110:find_baud_rate() Reader can do: 9600 00000003 ifdhandler.c:2110:find_baud_rate()...