SPRINGCARD SAS PRNHSP01 用户手册

下载
页码 118
PMD2271-BA
page 35 of 118
S
PRING
C
ARD
 PC/SC C
OUPLERS
 - H663 
GROUP
 - Developer's reference manual
MIFARE CLASSIC WRITE command APDU
CLA
INS
P1
P2
Lc
Data In
Le
h
FF
h
F4
h
00
Block Number
XX
XX … XX
-
Lc must be a multiple of 16.
Refer to the UPDATE BINARY instruction (§ 3.2.5) for response and status words.
b.
MIFARE CLASSIC WRITE selecting a key in the coupler
In this mode, the application chooses one the key previously loaded in the H663 through the LOAD
KEY
 instruction.
MIFARE CLASSIC WRITE command APDU, selecting a key
CLA
INS
P1
P2
Lc
Data In
Le
h
FF
h
F4
h
00
Block Number
XX
See below
-
MIFARE CLASSIC WRITE command APDU, selecting a key: Data In bytes
Bytes 0 to Lc-3
Byte Lc-2 Byte Lc-1
Data to be written
(multiple of 16 bytes)
Key
Location
or Type
Key Index
The understanding and values for bytes Key location or Key type and Key index are documented
in § 3.2.3 (GENERAL AUTHENTICATE instruction).
Refer to the UPDATE BINARY instruction (§ 3.2.5) for response and status words.
c.
MIFARE CLASSIC WRITE with specified key
In this mode, the application provides the key to the H663.
The coupler tries the key as a “type B” first, and only afterwards as a “type A”.
MIFARE CLASSIC WRITE command APDU, with specified key
CLA
INS
P1
P2
Lc
Data In
Le
h
FF
h
F4
h
00
Block Number
XX
See below
-
SPRINGCARD, the SPRINGCARD logo, PRO ACTIVE and the PRO ACTIVE logo are registered trademarks of PRO ACTIVE SAS.
All other brand names, product names, or trademarks belong to their respective holders.
Information in this document is subject to change without notice. Reproduction without written permission of PRO ACTIVE is forbidden.