问题
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