Android应用程序模仿物理RFID卡 [英] Android application to mimic a physical RFID card

查看:114
本文介绍了Android应用程序模仿物理RFID卡的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Android应用程序是否可以将以前存储的RFID卡ID发送到NFC读取器?目的是使用Android设备而不是物理RFID卡来访问房间. 阅读了有关NFC/RFID和Amp的许多其他主题.卡仿真,我得出的结论是它目前在Android中尚不可用,但是如果适用于这种特殊情况,我仍然会感到困惑.应用程序不能简单地通过NDEF消息或APDU命令发送卡ID,还是我只是在做梦?

Is it possible for an Android application to send a previously stored RFID card ID to a NFC reader? The aim would be to use an Android device to enable access to a room instead of a physical RFID card. Having read a lot of other threads about NFC/RFID & card-emulation, I came to the conclusion it was not available for now in Android but I'm still kinda confused if it apply to this particular case. Can't the application simply send the card ID within a NDEF message or an APDU command or I'm just completely dreaming?

推荐答案

严格来讲.对于您想要做的事情,您不需要卡模拟.您只需要向可以进行验证的门锁发送令牌即可.

Well, strictly speaking. For what you want to do you don't need card emulation. You just need to send a token to the door lock that can be validated.

您可以通过将NDEF消息推送到兼容的设备来使用Android Beam做到这一点,SNEP是您要寻找的协议.

You could do this with Android beam by pushing an NDEF message to a device that is compatible, SNEP is the protocol you'll be looking for.

我希望的解决方案是使门锁设备模仿标签.然后,您可以让您的Android应用为该标签注册一个侦听器(甚至不需要运行).检测到该标签后,该应用将启动,并使用该标签向Android SDK发送NFC函数,从而将您的安全令牌发送到锁.

A solution I would prefer would be to get the door lock device to emulate a tag. Then you could have your Android app register a listener for that tag (Doesn't even need to be running). When the tag is detected that app will fire up and send your secure token to the lock by using the tag write NFC functions in the Android SDK.

保护令牌是另一回事.

这篇关于Android应用程序模仿物理RFID卡的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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