UIC Bezel5 Programmer’s Manual
Page.90/166
UDN PM098 Rev. 1.0
Copyright © 2013, Uniform Industrial Corp. All Rights Reserved
4.4.7.
g (67H) – MIFARE Classic Card Authentication
An authentication command has to be carried out before any operation in order to allow further
commands.
Command Packet
Byte 0
Byte 1-3
Byte 4
Byte 5
Command
Block number
Key number
Key type
g
001
0
A
Or
Byte 0
Byte 1-3
Byte 4
Byte 5-16
Command
Block number
Key Type
Key
g
001
A
FFFFFFFFFFFF
Authenticate the card with the key stored in EEPROM.
Block Number – 2 Types
Block Number Type
Data Format
000 to 255
30h30h30h to 32h35h35h, ASCII Hex
B<00><00> to B<00><FF>
42h00h00h to 42h00hFFh, ASCII Hex
Key Information
Field
Length
Description
Key Number
1 Byte
0 to 4(30h to 34h, ASCII Hex)
Key Type
1 Byte
A or B(41h or 42h)
Key
12 Bytes
0 to 9 or A to F(30h to 39h or 41h to 46h, ASCII Hex)
Example
Host Command
Reader Response Example
g001AFFFFFFFFFFFF
^
4.4.8.
h (68H) – MIFARE Classic Card Read Block(Supports MIFARE Ultralight)
MIFARE Classic card read command.