ACS ACM1252U-Y3 Reference Manual page 42

Usb nfc reader module
Table of Contents

Advertisement

5.2.4.7.
Copy Value Block
This command is used to copy a value from a value block to another value block.
Copy Value Block APDU Format (7 bytes)
Command
Copy Value
Block
Where:
Source Block Number
Target Block Number
Copy Value Block Response Format (2 bytes)
Response
Result
Copy Value Block Response Codes
Results
Success
Error
Examples:
// Store a value "1" into block
APDU =
{FF D7
// Read the value block
APDU =
{FF B1
// Copy the value from value block
APDU =
{FF D7
// Increment the value block
APDU =
{FF D7
ACM1252U-Y3 – Reference Manual
Version 1.03
Class
INS
P1
FFh
D7h
00h
1 byte. The value of the source value block will be copied to the
target value block.
1 byte. The value block to be restored. The source and target
value blocks must be in the same sector.
Data Out
SW1
SW2
SW1
SW2
90
00h
63
00h
05h
00
05
05
00
00 00 00 01h}
05h
00
05
04h}
05h
to value block
00
05
02
03
06h}
by "5"
05h
00
05
05
01
00 00 00 05h}
P2
Lc
Source
Block
02h
Number
Meaning
The operation was completed
successfully.
The operation failed.
06h
Data In
Target
03h
Block
Number
Page 42 of 92
www.acs.com
info@acs.com.hk
www.acs.com.hk
.hk

Advertisement

Table of Contents
loading

Table of Contents