没有支持的卡终端发现ARC1281U NFC读卡器终端、读卡器、发现、ARC1281U

2023-09-03 22:07:43 作者:我若不坚强,谁替我猖狂

我想要做主机卡上的基于仿真, HCE 使用此的例如了解ACR 1281U NFC卡 阅读器。

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

本教程建议使用 nfctools 阅读日志时连接到读卡器b。使用命令

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

但我得到的错误是在我的Windows 7系统

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)

在一些人提到在博客的评论之一:你有安装PCSC?Java可以使用智能卡接口只能访问的读者。

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我我怎样才能使这项工作? 如何找出AID我要注册在我的项目,该项目coresponds我的阅读器?

有HCE上几乎没有任何资源,我无法找到任何解决这个。

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

谢谢!

推荐答案

您收到此错误消息意味着nfctools库不承认任何的智能卡阅读器的3接口

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双读卡器ICC 0 在ACS ACR1281 1S双读卡器PICC 0 在ACS ACR1281 1S双读卡器SAM 0

作为支持的接口。