区分不同类型的 MIFARE Ultralight [英] Distinguish different types of MIFARE Ultralight

查看:59
本文介绍了区分不同类型的 MIFARE Ultralight的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何识别不同类型的 MIFARE Ultralight 标签?

How to identify different types of MIFARE Ultralight tags?

在文档 AN10834 中,Ultralight 和 Ultralight C 的区别在于来自Auth"的答案.这个授权"是什么?芯片的数据表中没有对此功能的描述.

In document AN10834 Ultralight and Ultralight C differ by the answer from "Auth". What is this "Auth"? There is no description of this function in the datasheets to the chips.

我注意到 Ultralight C 和 EV1 支持 GET_VERSION (60h),我将此请求发送到 EV1 卡,它没有返回任何内容.

I noticed that Ultralight C and EV1 support GET_VERSION (60h), I sent this request to EV1 card, it does not return anything to me.

推荐答案

为了区分 MIFARE Ultralight、Ultralight C、Ultralight EV1 和 NTAG 标签,首先发送 GET_VERSION 命令:

In order to distinguish MIFARE Ultralight, Ultralight C, Ultralight EV1, and NTAG tags, you would first send a GET_VERSION command:

> 60

如果此命令成功,您就知道该标签是 EV1(或更高版本)标签(例如 MIFARE Ultralight EV1 或 NTAG21x).因此,您可以通过分析对 GET_VERSION 命令的响应来缩小特定标签类型的范围.这将显示产品类型(NTAG 或 Ultralight EV1)以及产品子类型、产品版本和存储大小(允许您确定确切的芯片类型).请参阅区分 NTAG213 和 MF0ICU2,了解示例产品标识值列表.

If this command succeeds, you know that the tag is an EV1 (or later) tag (e.g. MIFARE Ultralight EV1 or NTAG21x). You can, thus, narrow down the specific tag type by analyzing the resonse to the GET_VERSION command. This will reveal the product type (NTAG or Ultralight EV1) as well as product subtype, product version and storage size (which allows you to determine the exact chip type). See Distinguish NTAG213 from MF0ICU2 for a list of example product identification values.

如果 GET_VERSION 命令失败,您可以假设它是第一代标签(MIFARE Ultralight、Ultralight C、NTAG203).因此,您可以通过发送 AUTHENTICATE(第 1 部分)命令来缩小特定标签类型的范围:

If the GET_VERSION command fails, you can assume that it is a first generation tag (MIFARE Ultralight, Ultralight C, NTAG203). You can, thus, narrow down the specific tag type by sending an AUTHENTICATE (part 1) command:

> 1A 00

如果这条命令成功,你就知道标签是MIFARE Ultralight C.

If this command succeeds, you know that the tag is MIFARE Ultralight C.

如果此命令失败,您可以假设标签是 Ultralight 或 NTAG203.为了区分 MIFARE Ultralight 和 NTAG203,您可以尝试读取 Ultralight 上不存在的页面(例如读取第 41 页):

If this command fails, you can assume that the tag is either Ultralight or NTAG203. In order to distinguish between MIFARE Ultralight and NTAG203, you can try to read pages that do not exist on Ultralight (e.g. read page 41):

> 30 29

这篇关于区分不同类型的 MIFARE Ultralight的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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