ACR122U NFC对等演示不起作用 [英] ACR122U NFC Peer to Peer demo not working

查看:139
本文介绍了ACR122U NFC对等演示不起作用的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我从ACS获得了ACR122U NFC读卡器和ACR122T令牌. 我正在尝试运行他们的NFC对等演示.

I've got an ACR122U NFC card reader and ACR122T token from ACS. I'm trying to run their NFC Peer to Peer demo.

我已经安装了ACR122U SDK,mysql和连接器,设置了数据库,并将转义命令添加到了注册表中.

I've installed the ACR122U SDK, mysql and connector, set up the database, and added the escape command to the registry.

当我尝试运行对等演示时,请执行以下步骤(显示结果日志结果)

When I try to run the peer to peer demo I carry out the following steps (with resultant log results shown)

将NFC ACR122T插入USB端口.

Insert NFC ACR122T into USB port.

打开Smart Poster应用程序,然后使用阅读器0单击初始化. 日志:

Open the Smart Poster application and click initalise with reader 0. Log:

D1: 2:04:57 PM Program ready

D1: 2:05:02 PM Succesful connection to : ACS ACR122U PICC Interface 0 Direct Mode

D1: 2:05:02 PM << FF 00 48 00 FF

D1: 2:05:02 PM Code: 1

Description: Undocumented error.

D1: 2:05:02 PM << FF 00 51 00 00

D1: 2:05:02 PM Code: 1

Description: Undocumented error.

将ACR122U读卡器插入带有读卡器Mifare卡的第二个USB端口

Insert ACR122U card reader into second USB port with Mifare card on the reader

打开NFC设备应用程序,然后使用阅读器1单击初始化

Open NFC Device application and click initialise with reader 1

D2: 2:05:07 PM Program ready

D2: 2:05:11 PM Succesful connection to : ACS ACR122U PICC Interface 1 Direct Mode

D2: 2:05:11 PM << FF 00 48 00 FF

D2: 2:05:11 PM Code: 1

Description: Undocumented error.

D2: 2:05:11 PM << FF 00 51 00 00

D2: 2:05:11 PM Code: 1

Description: Undocumented error.

在Smart Poster应用程序的发送"字段中输入文本

Enter text into send field in Smart Poster application

点击激活智能海报

将带有Mifare卡的ACR122U读卡器放到ACR122T读卡器上

Place ACR122U reader with Mifare card onto ACR122T reader

在NFC设备应用程序中单击读取"按钮

Click 'Read' button in NFC Device application

此后,来自NFC Smart Poster Application的日志: D1:2:14:29 PM进入被动模式

Logs from NFC Smart Poster Application after this: D1: 2:14:29 PM Entering passive mode

D1: 2:14:29 PM << FF 00 00 00 27 D4 8C 00 08 00 12 34 56 40 01 FE A2 A3 A4 A5 A6 A7 C0 C1 C2 C3 C4 C5 C6 C7 FF FF AA 99 88 77 66 55 44 33 22 11 00 00

D1: 2:14:29 PM Code: 1

Description: Undocumented error.

来自NFC设备应用程序的日志:

Logs from NFC Device App:

D2: 2:14:31 PM Entering active mode

D2: 2:14:31 PM << FF 00 00 00 0A D4 56 01 02 01 00 FF FF 00 00

D2: 2:14:31 PM Code: 1

Description: Undocumented error.

似乎与设备的初始连接甚至无法正常工作.但是,我已经能够使用ACR SDK访客管理系统应用程序写入Mifare卡(我可以使用ACR122U阅读器和注册应用程序写入Mifare卡,然后使用ACR122U阅读器和参展商应用程序从中读取,而且我也可以使用Android NEXUS S手机从卡中读取相同的数据.因此,看来驱动程序工作正常(至少用于写入/读取Mifare格式的数据).

It seems like the initial connections to the devices aren't even working properly. I have however been able to write to a Mifare card using the ACR SDK Visitor Management system app (I can write to the Mifare card with the ACR122U reader and the registration app, and read back from it using the ACR122U reader and the exhibitor app, and I can also read this same data from the card using an Android NEXUS S phone. So it would appear that the drivers are working OK (at least for writing/reading Mifare format data).

为什么ACR122U对等演示不起作用?

Why is the ACR122U Peer to Peer demo not working?

推荐答案

没有什么比麻烦去问一个问题让你弄清楚答案的麻烦了.对于其他尝试这种方法的人来说,问题是:

Well there's nothing like going to the trouble of asking a question to make you figure out the answer. For anyone else that goes down the path of trying this, the issue was:

  • 文档似乎暗示可以使用标准的Microsoft USB CCID PCSC驱动程序,该驱动程序已经是Windows 7操作系统的一部分,并且在连接ACR122U/T阅读器时默认应用,但是,我尝试安装无论如何,SDK附带的ACR PICC驱动程序都可以解决此问题.

此外,如果有人发现了这个晦涩难懂的话题,请在youtube上找到一个视频:

Also if anyone ever finds this fairly obscure topic of interest, there is a video on youtube here:

http://www.youtube.com/watch?v=ucfNZW9GSk0 显示如何安装/运行对等演示.

http://www.youtube.com/watch?v=ucfNZW9GSk0 showing how to install/run the peer-to-peer demo.

(我准确地遵循了所有这些步骤,但是直到我从SDK dvd安装了实际的ACR驱动程序,而不是使用默认的Microsoft驱动程序后,它才起作用).如上所述,尽管如此,我仍然可以使用默认的Microsoft驱动程序将Mifare数据写入卡中.

(I followed all of these steps accurately, but it didn't work until I installed the actual ACR drivers from the SDK dvd rather than using the default microsoft drivers). As mentioned above I was able to write Mifare data to the card using the default microsoft drivers though.

这篇关于ACR122U NFC对等演示不起作用的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆