Software • RFID command set
Chapter 4 Software
Panel PC 2100 swing arm user's manual V1.00
153
MIFARE access rights (parameter 2)
Config
Key_CMD
Key_EEPROM
Key_TEMP
Parameter 2
6-byte key
Sector for key in reader's EEP-
ROM
Uses the temporarily stored key: Dummy value (0-63)
Table 125: MIFARE access rights (parameter 2)
"A" = Authentication with key A, "B" = Authentication with key B
Sector
= 0 to 63
Source and target block
= 0 to 254 (depends on type: 0 to 63 for MIFARE 1K, 0 to 254 for MIFARE 4K; for
"Decrement", "Increment" and "Restore", the source block must be a value block)
Data and key
= 00 to FF (no leading "0x", bytes can optionally be separated by a space)
Value
= 4 bytes including sign bit
All commands and parameters are in ASCII. Data is in 00h hex format.
MIFARE access rights (5-byte parameters)
Parameter 1
Parameter 2
Parameter 3
Parameter 4
Parameter 5
Block (typically 3 - sector trail-
er)
Access rights for block 0 (data
block)
Access rights for block 1 (data
block)
Access rights for block 2 (data
block)
Access rights for block 3 (sec-
tor trailer)
Table 126: MIFARE access rights (5-byte parameters)
MIFARE access rights - Parameters 2, 3 and 4 (data blocks)
Value
Read
Write
Increment
Decrement / Transfer / Restore
Comment
0x00
A / B
A / B
A / B
A / B
Full access with every key (default factory setting)
0x01
A / B
B
-
-
0x02
A / B
-
-
-
0x03
A / B
B
B
A / B
Value block
0x04
A / B
-
-
A / B
Value block
0x05
B
-
-
-
0x06
B
B
-
-
0x07
-
-
-
-
No access
Table 127: MIFARE access rights - Parameters 2, 3 and 4 (data blocks)
If key B is read in the corresponding sector trailer, it cannot be used for authentication (all of the yellow rows in
the table above).
Consequences:
If the reader attempts to authenticate a block in a sector with key B (access conditions marked
in yellow), the tag will refuse all subsequent memory access following authentication.
MIFARE access rights - Parameter 5 (sector trailer)
Value
Key A
Access bits
Key B
Comment
Read Write Read Write Read Write
0x00
-
A
A
-
A
A
Key B can be read.
0x01
-
B
A / B
-
-
B
0x02
-
-
A
-
A
-
Key B can be read.
0x03
-
-
A / B
-
-
-
No access
0x04
-
A
A
A
A
A
Key B can be read (factory default).
0x05
-
-
A / B
B
-
-
0x06
-
B
A / B
B
-
B
0x07
-
-
A / B
-
-
-
No access
Table 128: MIFARE access rights - Parameter 5 (sector trailer)
The rows marked in yellow are access conditions where key B can be read and used for data.
10.2.5 General commands
Command
Description
Parameter 1
Parameter 2
Parameter 3
Parameter 4
Parameter 5
Info_On
Outputs command confirmation
--
--
--
--
--
Info_Off
Does not output command confirmation (default)
--
--
--
--
--
Show_Config
Displays current settings
--
--
--
--
--
Show_Revision
Displays software and hardware revision information
--
--
--
--
--
Show_Status
Displays the RFID stack error
--
--
--
--
--
Show_SN
Displays the active tag number
--
--
--
--
--
Show_Key
Displays the active key
--
--
--
--
--
Echo_On
Displays an input echo for the output
--
--
--
--
--
Table 129: General commands