获取Android的NFC芯片的固定ID [英] Get fixed ID of NFC chip in Android

查看:2048
本文介绍了获取Android的NFC芯片的固定ID的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

至于我的标题,我有一个SS注意。当它与一个NFC读写器通信时,它产生一个固定的标识
我怎样才能得到它的Andr​​oid?

As my title, I have a SS Note. When it communicate with a NFC Reader, it generate a fixed ID How can I get it in Android?

推荐答案

简短的回答:不能。 Android不提供API来检索防碰撞识别。

Short answer: You can't. Android does not provide an API to retrieve the anti-collision identifier.

然而,这真的取决于什么组件生成固定ID:

However, it really depends on what component generates the fixed ID:


  • NFC控制器(不太可能,如果ID是固定的):在这种情况下,很可能是没有选择从软件检索ID

  • Android的NFC栈的应用处理器(虽然不太可能的情况下):如果你有机会到Android源代码,可以编译定制的Andr​​oid系统,你可以尝试破解的东西进入,你可以使用以检索的系统ID。

  • 安全元素(如SIM卡或嵌入式SE):如果你可以安装小程序到SE(同样,一个不太可能的情况下)的SE有一个API揭露它的抗碰撞标识符小程序的您已经从应用处理器(例如,通过开放移动API)访问该SE,您可以查询该小程序的ID。

  • NFC controller (unlikely if the ID is fixed): In that case, it's likely that there is no option to retrieve the ID from software.
  • Android NFC stack on the application processor (though a very unlikely case): If you have access to the Android source and can compile your custom Android system, you could try to hack something into the system that you could use to retrive the ID.
  • Secure Element (e.g. a SIM card or an embedded SE): If you can install applets to that SE (again, a very unlikely case) and the SE has an API to expose it's anti-collision identifier to applets and you have access to that SE from the application processor (e.g. through Open Mobile API), you could query that applet for the ID.

这篇关于获取Android的NFC芯片的固定ID的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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