简体   繁体   English

找不到支持的卡终端ARC1281U nfc读卡器

[英]No supported card terminal found ARC1281U nfc card reader

I'm trying to do Host card based emulation, HCE using this example for ACR 1281U Nfc card reader. 我正在尝试使用基于此示例的ACE 1281U Nfc读卡器进行基于主机卡的仿真, HCE

The tutorial Suggest to use nfctools to read logs when connected to the reader b using the command 本教程建议在使用命令连接到读取器b时,使用nfctools读取日志

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 但是我得到的错误是在Windows 7系统上

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." 在博客的评论之一中,有人提到“您是否安装了pcsc?Java只能使用智能卡界面访问读取器。”

  • Please suggest what is pcsc and I how can I make this work ? 请提出什么是pcsc,我该怎么做?
  • How can I find out what AID should I register in my project which coresponds to my reader? 我如何找出应该在我的项目中注册给读者的AID?

There are hardly any resources on HCE and I'm not able to find any solution to this. HCE上几乎没有任何资源,因此我无法找到任何解决方案。

Thanks! 谢谢!

The error message that you receive means that the nfctools library does not recognize any of the 3 interfaces of your smartcard reader 您收到的错误消息表示nfctools库无法识别智能卡读取器的3个接口中的任何一个

  • ACS ACR1281 1S Dual Reader ICC 0 ACS ACR1281 1S双读取器ICC 0
  • ACS ACR1281 1S Dual Reader PICC 0 ACS ACR1281 1S双读取器PICC 0
  • ACS ACR1281 1S Dual Reader SAM 0 ACS ACR1281 1S双读取器SAM 0

as a supported interface. 作为受支持的界面。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM