No supported card terminal found ARC1281U nfc card reader

扶醉桌前 提交于 2019-12-01 12:10:05

问题


I'm trying to do Host card based emulation,HCE using this example for ACR 1281U Nfc card reader.

The tutorial Suggest to use nfctools to read logs when connected to the reader b using the command

java -cp "C:\DATA\setups\ACR1281U-C1 SDK v1.0\nfctools-examples.jar" org.nfctools.examples.hce.HceDemo

But the error I get is on my windows 7 system

C:\DATA\setups\ACR1281U-C1 SDK v1.0\nfctools-examples\org\nfctools\examples\hce>
java -cp "C:\DATA\setups\ACR1281U-C1 SDK v1.0\nfctools-examples.jar" org.nfctool
s.examples.hce.HceDemo
Jan 08, 2015 12:17:29 AM org.nfctools.scio.TerminalHandler getAvailableTerminal
INFO: Checking terminal: ACS ACR1281 1S Dual Reader ICC 0
Jan 08, 2015 12:17:29 AM org.nfctools.scio.TerminalHandler getAvailableTerminal
INFO: Checking terminal: ACS ACR1281 1S Dual Reader PICC 0
Jan 08, 2015 12:17:29 AM org.nfctools.scio.TerminalHandler getAvailableTerminal
INFO: Checking terminal: ACS ACR1281 1S Dual Reader SAM 0
Exception in thread "main" java.lang.IllegalArgumentException: No supported card
 terminal found. Available Terminals  [ACS ACR1281 1S Dual Reader ICC 0] [ACS AC
R1281 1S Dual Reader PICC 0] [ACS ACR1281 1S Dual Reader SAM 0]
        at org.nfctools.scio.TerminalHandler.getAvailableTerminal(TerminalHandle
r.java:59)
        at org.nfctools.examples.TerminalUtils.getAvailableTerminal(TerminalUtil
s.java:34)
        at org.nfctools.examples.TerminalUtils.getAvailableTerminal(TerminalUtil
s.java:26)
        at org.nfctools.examples.hce.HceDemo.run(HceDemo.java:10)
        at org.nfctools.examples.hce.HceDemo.main(HceDemo.java:16)

In one of the comments on blog some one mentions " Do you have pcsc installed? Java can only access the reader using a smartcard interface."

  • Please suggest what is pcsc and I how can I make this work ?
  • How can I find out what AID should I register in my project which coresponds to my reader?

There are hardly any resources on HCE and I'm not able to find any solution to this.

Thanks!


回答1:


The error message that you receive means that the nfctools library does not recognize any of the 3 interfaces of your smartcard reader

  • ACS ACR1281 1S Dual Reader ICC 0
  • ACS ACR1281 1S Dual Reader PICC 0
  • ACS ACR1281 1S Dual Reader SAM 0

as a supported interface.



来源:https://stackoverflow.com/questions/27846535/no-supported-card-terminal-found-arc1281u-nfc-card-reader

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