简体   繁体   English

“不支持NFC标签类型”消息

[英]“NFC tag type not supported” message

I have an app which reads and writes NFC tags. 我有一个应用程序,可以读写NFC标签。 I tested my app on a Galaxy Note 3 and it works fine. 我在Galaxy Note 3上测试了我的应用程序,它工作正常。 But when I test it on a Note 5 and a Galaxy S6, a message pops up that says, "NFC tag type not supported". 但是当我在Note 5和Galaxy S6上测试它时会弹出一条消息,上面写着“不支持NFC标签类型”。

Is that the fault of my app or are my tags not support on those devices? 这是我的应用程序的错误还是我的标签不支持这些设备?

My tag type is ISO 14443A standard. 我的标签类型是ISO 14443A标准。

You are using MIFARE Classic tags. 您正在使用MIFARE Classic标签。 While these tags are partially based on ISO/IEC 14443-3A (or actually the other way round), they use a proprietary encryption algorithm and a proprietrary framing. 虽然这些标签部分基于ISO / IEC 14443-3A(或实际上反过来),但它们使用专有加密算法和专有框架。 Since NXP (the owner of MIFARE Classic technology) does not seem to license MIFARE Classic reader technology to other chip manufacturers, access to the memory of MIFARE Classic tags is only available on NFC devices with NXP chipset. 由于恩智浦(MIFARE Classic技术的所有者)似乎并未将MIFARE Classic读卡器技术授权给其他芯片制造商,因此只有具有恩智浦芯片组的NFC设备才能访问MIFARE Classic标签的内存。

This usually only means that you can't access the data on MIFARE Classic tags through devices without an NXP NFC chipset. 这通常仅意味着您无法通过没有恩智浦NFC芯片组的设备访问MIFARE Classic标签上的数据。 Usually you can still access the ISO/IEC 14443-3A anti-collision identifier (UID) through the Android API. 通常,您仍然可以通过Android API访问ISO / IEC 14443-3A防冲突标识符(UID)。 Unfortunately, Samsung decided to completely block MIFARE Classic on their devices by displaying the message "NFC tag type not supported" instead. 不幸的是,三星决定通过显示消息“不支持NFC标签类型”来完全阻止其设备上的MIFARE Classic。 As a result, you can't even detect these tags from apps on the affected Samsung devices. 因此,您甚至无法从受影响的三星设备上的应用程序中检测到这些标签。 See Hide "NFC Tag type not supported" error on Samsung Galaxy devices for possible ways to work around that limitation. 请参阅三星Galaxy设备上隐藏“不支持NFC标签类型”错误,以了解解决该限制的可能方法。

With regard to your specific devices, the Samsung Note 3 contains an NXP PN544 NFC controller and, consequently, supports MIFARE Classic. 对于您的特定设备,Samsung Note 3包含NXP PN544 NFC控制器,因此支持MIFARE Classic。 The Samsung Galaxy S6 contains a Samsung S3FWRN5P NFC controller (the Note 5 probably also contains an NFC controller from Samsung) and, consequently, they don't support (and actually completely block) MIFARE Classic. 三星Galaxy S6包含三星S3FWRN5P NFC控制器(Note 5可能还包含三星的NFC控制器),因此,它们不支持(实际上完全阻止)MIFARE Classic。

It seems your tag is a Mifare Classic : https://en.wikipedia.org/wiki/MIFARE#MIFARE_Classic 看来你的标签是Mifare Classic: https//en.wikipedia.org/wiki/MIFARE#MIFARE_Classic

Mifare classic: Mifare经典:

It uses an NXP proprietary security protocol (Crypto-1) for authentication and ciphering. 它使用NXP专有安全协议(Crypto-1)进行身份验证和加密。 This means only devices with an NXP NFC controller chip can read or write these tags. 这意味着只有配备NXP NFC控制器芯片的设备才能读取或写入这些标签。

I confirm that my Samsung S7 with android 7.0 shows the "uncompatible" message but it can properly read mifare tags (just the ID), but only by using NXP specific app. 我确认我的带有android 7.0的三星S7显示“不兼容”的消息,但它可以正确读取mifare标签(只是ID),但只能使用恩智浦特定的应用程序。 S7 also supports HCE to emulate cards, but I have yet to find an app which can replicate just the id of a card. S7还支持HCE模拟卡,但我还没有找到一个可以复制卡的ID的应用程序。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM