How to use an NFC card reader to read the UID of an NFC card

Source: Internet
Author: User

Method 1:
APDU command ffca000000 read uid
Acr122u APDU command
<FF ca 00 00
> 04 76 BF E1 BF 02 80 90 00

Method 2:
Because the UID of the Mifare ultralight card is in the first page and second page of the card, we can directly read
You can retrieve one page 2 data.
Acr122u read page
<FF B0 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
Reference 1:
APDU "Read Binary blocks command" refer to "acr122u NFC reader apicks" 5.3 Read Binary
Blocks chapter
APDU "Get uid APDU" refer to 4.1 PICC commands for general in "acr122u NFC reader api.pdf"
Purposes chapter
Reference 2:
What is a unique identifier number and what is it used?
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 bytes contactless systems, the UID is not only used for card 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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.