【问题标题】:Is it possible to get UID of a Mifare Classic or Desfire card by android phone with the Broadcom NFC chip? [duplicate]是否可以通过带有 Broadcom NFC 芯片的安卓手机获取 Mifare Classic 或 Desfire 卡的 UID? [复制]
【发布时间】:2015-03-17 08:45:29
【问题描述】:

我只需要通过 getId() 函数获取 Mifare classic 或 Desfire 卡的 UID。我不需要任何其他的读写操作。

带有 Broadcom NFC 芯片的智能手机能否读取 Mifare 或 Desfire 卡的 UID? 我查看了Nexus 4 read Mifare Classic card UIDWhat mobile phones with NFC have full support of Mifare Classic (1K & 4K) cards? 线程,但没有明确的答案。

有人试过吗?带有 Mifare 或 Desfire 的三星 Galaxy Young 2 或三星 Galaxy S3 Neo?

谢谢:)

【问题讨论】:

标签: android nfc uniqueidentifier mifare serial-number


【解决方案1】:

是的,这是可能的。您只需要使用来自android.nfc.Tag (http://developer.android.com/reference/android/nfc/Tag.html#getId()) 的方法getId(),无论您的手机上有什么NFC 芯片组,您都将获得UID。 UID 不是 Mifare 特定的标识符,而是在 ISO 14443-3 中定义的标识符,因此所有非接触式卡都应以相同的方式提供它。好的,TypeA 和 TypeB 是有区别的,但你明白我的意思。

我已经在 Nexus 5 上进行了测试,我相信它也有一个 Broadcom 芯片组。请在其他终端测试时分享您的结果!

【讨论】:

  • 谢谢您的回答。我今天在 mifare 经典上对其进行了测试。它就像三星 S4 的魅力。等我测试完,我会和 Desfire 和其他卡分享结果。
猜你喜欢
  • 2022-01-08
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多