通过软件NFC卡模拟 [英] Card emulation via software NFC

查看:249
本文介绍了通过软件NFC卡模拟的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

读了很多问题后,我决定发布这一个。我读了股票Android版本不支持的API为卡仿真。同时,我们也不能归因于谷歌/三星管理的密钥编写自定义的应用程序,以确保元素嵌入NFC控制器。

After reading a lot of questions, i decided to post this one. I read that stock version of android does not support API's for card emulation. Also, we cannot write custom applications to secure element embedded in nfc controllers due to keys managed by google/samsung.

我需要模拟卡(MIFARE DESFire非或等)。我可以看到选项是通过软件来这样做。我有一个ACR122U读者,我已经测试了NFC P2P模式的正常工作与Nexus-S,我有。

I need to emulate a card (mifare or desfire etc). The option i can see is doing it via software. I have a ACR122U reader and i've tested that NFC P2P mode works fine with the Nexus-S that i have.

1)我碰到一个网站,说的Nexus S的NFC控制器(PN532)可以模拟MIFARE 4K卡。如果这是真的,我可以写/读APDU命令,这个仿真卡? (也许如果我使用像CyanogenMod的一个改装成的ROM)

1) I came across a site that said that nexus s's NFC controller (pn532) can emulate a mifare 4k card. If this is true, can i write/read apdu commands to this emulated card? (Probably if i use a modded rom like cyanogenmod)

2)我可以写一个Android应用程序读取APDU从阅读器发送的指令,并产生相应的反应(如果不是全部的话高达一定程度上只)。要做到这一点,我搜索,我们需要修补的Nexus S与cynagenmod。曾有人试图通过这种方法模拟卡?

2) Can i write a android application that reads apdu commands sent from the reader and generate appropriate responses (if not fully, then upto some extent only). To do so, i searched that we need to patch nexus s with cynagenmod. Has someone tried emulating card via this method?

我看,这是可能的,因为我们的产品从访问控制企业提供移动应用程序,通过它可以打开大门,例如<一href="http://www.assaabloy.com/en/com/Products/seos-mobile-access/">http://www.assaabloy.com/en/com/Products/seos-mobile-access/

I see that this is possible since we have products from access control companies offering mobile applications via which one can open doors e.g. http://www.assaabloy.com/en/com/Products/seos-mobile-access/

推荐答案

通过软件仿真卡现可与Android 4.4。 http://developer.android.com/guide/topics/connectivity/nfc /hce.html

Card emulation via software is now available with Android 4.4. http://developer.android.com/guide/topics/connectivity/nfc/hce.html

这篇关于通过软件NFC卡模拟的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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