Page
58
of
70
Copyright © Access-IS 2016
8.11 Get media serial number
Use this command to get the media serial number. Table 16 shows the data element returned by
the reader for different types of media.
Table 16. Media types and data elements returned by the ATR110
Media type
Data element
MIFARE 1K, 4K and Ultralight
ISO14443-4 type A microprocessor card
Unique Identifier (UID)
ISO14443-4 type B microprocessor card
Pseudo-Unique PICC Identifier (PUPI)
8.11.1 Management command bytes
Byte
Command/Value
Comments
0
[0x0D]
Command byte
1
–63
[0x00]
Unused bytes, set to
[0x00]
8.11.2 Management response bytes
Byte
Response/Value
Comments
0
[0x0D]
Command echoed
1
Media type value
See Table 17 on page 58.
2
Number of valid bytes to follow
Specifies the number of bytes in the
serial number
3
–xx
Media serial number
Most significant bit first
xx
–63
Ignored (unused bytes)
8.11.3 Example
This command retrieves the serial number from the media. The detected media type is MIFARE
Ultralight.
Command:
[0x0D]
Response:
[0x0D][0x05][0x07][0x04][0xBC][0xB8][0xD2][0x3B][0x3C][0x80]
8.11.4 Media type values
The value of byte 2 indicates the media type, as shown in the following table.
Table 17. Media type values for supported (and non-supported) media types
Media type
Type value
Current support
No media present
[0x00]
Yes
ISO14443-4 A
[0x01]
Yes
ISO14443-4 B
[0x02]
Yes
MIFARE Classic 1K
[0x03]
Yes
MIFARE Classic 4K
[0x04]
Yes
MIFARE Ultralight
[0x05]
Yes