通过NFC数据传输到PC机,从Android设备数据传输、设备、NFC、Android

由网友(墨羽)分享简介:我想开发一个Android应用程序的医院。在这个系统中,有必要获得存储在数据库中的机器人的手机变成使用NFC技术的台式计算机的患者信息。反正是有,我可以使用NFC读取USB设备(ACR122U NFC智能卡读写器的RFID读写器5的Mifare USB)将数据从手机转移到我的台式电脑?I am trying to d...

我想开发一个Android应用程序的医院。在这个系统中,有必要获得存储在数据库中的机器人的手机变成使用NFC技术的台式计算机的患者信息。反正是有,我可以使用NFC读取USB设备(ACR122U NFC智能卡读写器的RFID读写器5的Mifare USB)将数据从手机转移到我的台式电脑?

I am trying to develop an Android application for a hospital. In this system there is a need to get the patient information stored in the database in the android phone into the desktop computer using NFC technology. Is there anyway where I could use a NFC USB Reading device (ACR122U NFC Smart Card Reader RFID Writer 5 Mifare USB) to transfer the data from the mobile phone to my desktop computer?

的真实场景,这将是,在医院,当一个人希望采取一些试验结果,他将达到给计数器,并将所述移动装置安装在柜台的NFC读取器设备上时这样做的所有细节关于患者应转移到桌面机在柜台

The real scenario for this would be, in a hospital when a person wants to take some test results he will reach to the counter and place the mobile device on the NFC reader device installed at the counter when this is done all the details about the patient should be transferred to the desktop machine at the counter.

我不希望传递大量的信息,如果有任何方式,我可以存储在移动数据库中的患者ID转移到使用NFC桌面这将是足够的。

I don't want to transfer a lot of information if there is any way in which I could transfer the patient id stored in the mobile database into the desktop using NFC that would be enough.

推荐答案

根据您要结合使用与ACR122U NFC阅读器,您多种选择什么样的NFC设备:

Depending on what NFC devices you want to use in combination with the ACR122U NFC reader you multiple options:

如果您只需要更换一个消息(数据包的)在一个方向,你可以使用对等模式。然而,对等体的对等协议栈是相对复杂(相较于其他的替代品)。此外,Android的建于梁的功能会要求用户确认(梁UI)的每封邮件传输。

If you only need to exchange a single message (data packet) in a single direction, you could use peer-to-peer mode. However, the peer-to-peer protocol stack is relatively complex (in comparison to the other alternatives). Moreover, Android's built in Beam functionality will request user confirmation (Beam UI) for every message transfer.

如果你只需要支持Android设备与Android 4.4或更高版本(即使在当时并非所有的Andr​​oid NFC设备的支持,看到的这个),你可以使用在读/写模式ACR122U。在读/写器模式下,ACR122U可以与接触式智能卡通信。请参阅读者手册如何访问这些ISO / IEC 14443-4接触式智能卡。在Android的一面,你可以使用基于主机卡仿真(HCE)模式。见href="http://developer.android.com/guide/topics/connectivity/nfc/hce.html" rel="nofollow">的Andr​​oid文档上怎么说在Android 4.4及更高版本的工作

阅读全文

相关推荐

最新文章