
Page | 27
Example:
ACT(02 40):
0A 9C 01 00 9F 02 06 00 00 00 00 15 00 FF EE 06 18 9F 22 02 01
00 9F 26 04 00 00 00 01 9F 2B 05 01 00 00 00 00 DF 01 01 01 FF EE 08
02 81 00 FF EE 0E 41 DF ED 3B 08 01 01 FF FF FF FF FF FF DF ED 3B 08
04 01 FF FF FF FF FF FF DF ED 3B 08 08 01 FF FF FF FF FF FF DF ED 3C
11 06 01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10 DF ED 3A 04 01
03 07 09
This ACT parameter defines the following operations:
Read blocks
01
,
03
,
07
, and
09
Write to block 06 with "
01 02 03 04 05 06 07 08 09 0A 0B 0C 0D 0E 0F 10
"
as the data
The key from block 01 is KEY-A "
FFFFFFFFFFFF
"
The key from block 04 is KEY-A "
FFFFFFFFFFFF
"
The key from block 08 is KEY-A "
FFFFFFFFFFFF
"
Return Data:
FFEE0E length Error_Code Card_Type TLV_UID Card_Data
Where
length
is the length of [Error_Code Card_Type Card_Data].
Error_Code
is defined as:
0xE0
#define ERROR_NO_ERROR
0xE1
#define ERROR_TIMEOUT_ERROR
0xE2
#define ERROR_AUTHENTICATE_ERROR
0xE3
#define ERROR_READ_ERROR
0xE4
#define ERROR_WRITE_ERROR
Card_Type
is defined as:
0x03
Classic Mifare
0x04
MifareUltraLight
0x05
Mifare Plus (PiP support and read UID only)
0x06
Mifare Desfire (PiP support and read UID only)
TLV_UID:
DFED44
Card_Data
is the data read from the card designated by DFED3A. The delimiter is
[0D 0A]
.
For the ACT command, if a key is not necessary or the key is KEY-A "
FF FF FF FF FF FF
", Tag
DFED3B can be omitted.