MD-150M User Manual
6.
“K1” (Write data into specified page/block)
Controller send
:
SOH
“S”
ID1
ID2
“K”
“1”
STX
DATA
ETX
BCC
USB Reader responds
:
SOH
“s”
ID1
ID2
“K”
“1”
STX
data
ETX
BCC
Data description
:
1. DATA should be entered as cars type, page/block number and the information you
want to input, just as follow:
Card type (1 byte) + Page/block number (2 bytes) + Information (16 bytes).
2. When Write Mifare Card, Card type is “M ” + Page/Block number
;
The page/block
number is “01”
~
“3F”(HEX)
,
63 Blocks
。
3. Responded “data” value will be as following:
a. If “data” is
“Y”
means writing is successful.
b.
If “data” is
“N”
means failed or no data.
4.
When Write data into specified page/block Sector A,B Key, please attend to
“DATA” value. Because If Responded “data” is
“Y”
means writing is successful,
Sector A,B Key was written and you can’t read this “DATA” value.
Function description
:
1. Use this function to write information into desired block/Page of a card.
2. Use this function to write information into desired A,B Key of a Sector.
Example
:
Controller send
:
SOH + "S01K1" + STX +
"M060000456789ABCDEF1234567898765432"
+ ETX + BCC
USB Reader responds
:
SOH + "s01K1" + STX +
"
Y
"
+ ETX + BCC
(“Y” means the set up is successful)
USB Reader responds
:
SOH +
"s01K1"
+ STX +
"
N
"
+ ETX + BCC
(“N” means writing is failed or no data)
- 12 -