简体   繁体   English

acr122U NFC 标签读取

[英]acr122U NFC Tag reading

UPDATE:更新:

let me sum up what i have done so far.让我总结一下我到目前为止所做的事情。 I updated my smartphone to 4.0.4 because of android beam.由于 android Beam,我将智能手机更新到 4.0.4。 The following site allows one to send and receive NDEF Messages: http://www.grundid.de/nfc/ndef-applet.html以下站点允许发送和接收 NDEF 消息: http ://www.grundid.de/nfc/ndef-applet.html

that worked perfectly for me.这对我来说非常有效。

After that i was able to write an little app which sends NDEF Tags over an P2P connection.之后,我可以编写一个通过 P2P 连接发送 NDEF 标签的小应用程序。

There is only one topic left: Create a desktop based application to receive the tags.只剩下一个主题:创建一个基于桌面的应用程序来接收标签。 I implemented the following example from github.com :我从 github.com 实现了以下示例:

https://github.com/grundid/nfctools-examples/blob/master/src/main/java/org/nfctools/examples/llcp/LlcpService.java https://github.com/grundid/nfctools-examples/blob/master/src/main/java/org/nfctools/examples/llcp/LlcpService.java

that worked also well.这也很好。 But i just dont know what happens behind the example.但我只是不知道这个例子背后发生了什么。 The example class uses a package (jar) consisting of *.class files.示例类使用由 *.class 文件组成的包 (jar)。 Its the same as using the applett.它与使用小程序相同。 My aim is to create code by my self.我的目标是自己创建代码。 A complete project.一个完整的项目。

So is there a way, to receive ndef tags (over p2p) in .net?那么有没有办法在.net中接收ndef标签(通过p2p)? or java?还是java? this is what iam looking for.这就是我正在寻找的。

Next Steps:下一步:

i will try to use the Winscard.dll:我将尝试使用 Winscard.dll:

http://www.aspfree.com/c/a/.NET/Smart-Cards-in-.NET/ http://www.aspfree.com/c/a/.NET/Smart-Cards-in-.NET/

but it seems to be only for SDCards and have nothing to do with NFC.但它似乎只适用于 SDCards,与 NFC 无关。

Have you any suggestions or tips to achieve my gaols?你有什么建议或技巧来实现我的目标吗? that would be wonderful.这样就太好了。

Thank you.谢谢你。

Berry浆果

你看过这个项目吗:http: //www.grundid.de/nfc/

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

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