Handler Smart Card Reader

橙三吉。 提交于 2019-12-08 10:40:07

问题


I'm writting app connect to Smart Card reader, And I want to connect 2 app to 2 Reader:

# Detected readers (pcsc)
Nr.  Card  Features  Name
0    Yes             ACS ACR38U 00 00
1    Yes             ACS ACR38U-CCID 01 00

But, App only connects to Reader 0: ACS ACR38U 00 00. I try with IFDHandler but it is not ok. Please help me with connecting 2 apps to 2 readers 0 and 1. Thanks.


回答1:


(If I understand well)

You probably need to change the second argument of the function SCardConnect() to get a different reader.

I.e. put "ACS ACR38U-CCID 01 00" here to get the second reader.

Good luck!




回答2:


I use opensc-tool -l:

# Detected readers (pcsc)
Nr.  Card  Features  Name
0    Yes             ACS ACR38U 00 00
1    Yes             ACS ACR38U-CCID 01 00

Then I get Name Reader 0 ( ACS ACR38U 00 00) for func SConnect() in App 1. Name Reader 1 ( ACS ACR38U-CCID 01 00) for func SConnect() in App 2. The present, I only can handle so. If have you other handle maybe share for me?



来源:https://stackoverflow.com/questions/33382659/handler-smart-card-reader

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!