Contactless Card Read/Write Module
(
YW-201
)
User’s Manual
7
Command test sample
Samples below are based on uart protocol.
6.1.request card
Send
:
02 04 10 10 00 14 03
Receive
:
02 08 10 10 00 4D 56 A2 57 F6 03
6.2.read block
Send
:
02 0B 11 00 3E FF FF FF FF FF FF 24 03
Receive
:
02 14 11 00 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 04 03
6.3.write block
Send
:
02 1B 12 00 3E FF FF FF FF FF FF 00 01 00 00 00 00 00 00 00 00 00 00 00 00 00 00 36 03
Receive
:
02 04 12 00 16 03
6.4.download key
Send
:
02 0A 1A 00 FF FF FF FF FF FF 10 10 03
Receive
:
02 0A 1A 00 FF FF FF FF FF FF 10 10 03
6.5.initial purse
Send
:
02 0F 14 00 3D FF FF FF FF FF FF 01 00 00 00 27 03
Receive
:
02 04 14 00 10 10 03
6.6.read purse
Send
:
02 0B 15 00 3D FF FF FF FF FF FF 23 03
Receive
:
02 08 15 00 10 02 00 00 00 1F 03
6.7.increment of purse
Send
:
02 0F 16 00 3D FF FF FF FF FF FF 01 00 00 00 25 03
Receive
:
02 04 16 00 12 03
6.8.decrement of purse
Send
:
02 0F 17 00 3D FF FF FF FF FF FF 01 00 00 00 24 03
Receive
:
02 04 17 00 13 03
6.9.purse backup
6.9.1 initial purse 1
Send
:
02 0F 14 00 3D FF FF FF FF FF FF 01 00 00 00 27 03
Receive
:
02 04 14 00 10 10 03
Contactless Card, RFID… Page 13 / 15
http://www.youwokeji.com.cn