1200字范文,内容丰富有趣,写作的好帮手!
1200字范文 > 如何使用NFC读卡器读取NFC卡片的UID

如何使用NFC读卡器读取NFC卡片的UID

时间:2020-11-02 10:54:45

相关推荐

如何使用NFC读卡器读取NFC卡片的UID

分享一下我老师大神的人工智能教程!零基础,通俗易懂!/jiangjunshow

也欢迎大家转载本篇文章。分享知识,造福人民,实现我们中华民族伟大复兴!

方法1:

APDU命令FFCA000000 读取UID

ACR122U APDU Command

< FF CA 00 00 00

> 04 76 BF E1 BF 02 80 90 00

方法2:

因为Mifare UltraLight卡片的UID是在卡片的第一个page和第二个Page里面,所以我们可以直接读取page 1个page 2数据就好了。

ACR122U Read Page

< FF B0 00 00 04

> 04 76 BF 45 90 00

> Data Read at Start Page 00

> Number of Bytes Read: 04

>> Hex Mode: 04 76 BF 45

ACR122U Read Page

<FF B0 00 01 04

> E1 BF 02 80 90 00

> Data Read at Start Page 01

> Number of Bytes Read: 04

>> Hex Mode: E1 BF 02 80

参考1:

APDU "Read Binary Blocks command" 参考“ACR122U NFC Reader API.pdf”的5.3 Read Binary Blocks 章节

APDU "Get UID APDU"参考“ACR122U NFC Reader API.pdf”的4.1 PICC Commands for General Purposes章节

参考2:

What is a unique identifier number and what is it used for?

ISO/IEC 14443 Type A defines a Unique IDentifer to be used for card selection and activation. The standard defines single, double and triple size UIDs which correspondingly consist of 4, 7 and 10 Byte. In many contactless systems, the UID is not only used forcard activation but also as a logical reference i.e. in a background system to the card itself

MIFARE Ultralight C

Unique 7 bytes serial number (UID)

MIFARE Plus

7 or 4 bytes UID. Optional supporting random UID

给我老师的人工智能教程打call!/jiangjunshow

本内容不代表本网观点和政治立场,如有侵犯你的权益请联系我们处理。
网友评论
网友评论仅供其表达个人看法,并不表明网站立场。