MD-150M User Manual
5.
“K0”( Read data in specified page/block)
Controller send
:
SOH
“S”
ID1
ID2
“K”
“0”
STX
DATA
ETX
BCC
USB Reader responds
:
SOH
“s”
ID1
ID2
“K”
“0”
STX
data
ETX
BCC
Data description
:
1. “DATA” should be entered as: Card type
(1 bytes)
+ Page/Block number
(2 bytes).
2. When Read Mifare Card, Card type is “M ” + Page/Block number
;
The page/block
number is fixed to 2 bytes. Number is “00”
~
“3F”(HEX)
,
64 Blocks (0 Block is
first)
。
Block0 Block1 Block2 Block3
Block4 Block5 Block6 Block7
Block60 Block61 Block62 Block63
Block56 Block57 Block58 Block59
Sector 0
Sector 1
Sector 14
Sector 15
AB
Key
Function description:
1. Use this function to Read Mifare Card Block DATA.
2. Every Sector last Block is A,B Key values.
3. Read Every Sector A Key is always “0”.
Example
:
Controller send
:
SOH + "S01K0" + STX +
"M0E"
+ ETX + BCC
USB Reader responds
:
SOH + "s01K0" + STX +
"M00E0000456789ABCDEF1234567898765432"
+ ETX +
BCC
Description
:
1. USB Reader responded:
"0E"
─
The information is from page/block NO.0E.
"0000456789ABCDEF1234567898765432"
─
The dat a ins ide the p age/block
NO.0E.
- 11 -