ACR122U NFC 点对点演示无法正常工作
我有 ACS 的 ACR122U NFC 读卡器和 ACR122T 令牌。 我正在尝试运行他们的 NFC 点对点演示。
我已经安装了ACR122U SDK、mysql和连接器,设置了数据库,并将转义命令添加到注册表中。
当我尝试运行点对点演示时,我执行以下步骤(显示结果日志结果)
将 NFC ACR122T 插入 USB 端口。
打开智能海报应用程序并单击使用阅读器 0 初始化。 日志:
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 读卡器插入第二个 USB 端口,读卡器上有 Mifare 卡
打开 NFC 设备应用程序,然后单击读卡器初始化 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.
在智能海报应用程序的发送字段中输入文本
,单击激活智能海报
将带有 Mifare 卡的 ACR122U 读卡器放置到 ACR122T 读卡器上
单击“ NFC 设备应用程序中的“读取”按钮
此后来自 NFC 智能海报应用程序的日志: D1:下午 2:14:29 进入被动模式
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 设备应用程序的日志:
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 格式数据)
。 ACR122U 点对点演示无法正常工作?
I've got an ACR122U NFC card reader and ACR122T token from ACS.
I'm trying to run their NFC Peer to Peer demo.
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)
Insert NFC ACR122T into USB port.
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.
Insert ACR122U card reader into second USB port with Mifare card on the reader
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.
Enter text into send field in Smart Poster application
Click Activate Smart Poster
Place ACR122U reader with Mifare card onto ACR122T reader
Click 'Read' button in NFC Device application
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.
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.
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).
Why is the ACR122U Peer to Peer demo not working?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
没有什么比不厌其烦地提出问题更能让你找到答案的了。对于任何其他尝试此方法的人来说,问题是:
另外,如果有人发现这个相当晦涩的话题感兴趣,youtube 上有一个视频:
http:// /www.youtube.com/watch?v=ucfNZW9GSk0 显示如何安装/运行点对点演示。
(我准确地遵循了所有这些步骤,但直到我从 SDK DVD 安装了实际的 ACR 驱动程序而不是使用默认的 Microsoft 驱动程序后,它才起作用)。如上所述,我能够使用默认的微软驱动程序将 Mifare 数据写入卡。
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:
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 showing how to install/run the peer-to-peer demo.
(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.