Copy Value Block - ACS ACR3x mobile Reference Manual

Hide thumbs Also See for ACR3x mobile:
Table of Contents

Advertisement

9.2.7.

Copy Value Block

The Copy Value Block command is used to copy a value from a value block to another value block.
Copy Value Block APDU Format (7 bytes)
Command
Value Block Operation
Where:
Source Block Number
Target Block Number
Copy Value Block Response Format (2 bytes)
Response
Result
Copy Value Block Response Codes
Results
SW1 SW2
Success
Error
Examples:
//Store a value
1
into block
APDU =
{FF D7
00
//Read a value
into block
APDU =
{FF B1
00
//Copy the value
from value block
APDU =
{FF D7
00
//Increment the value
APDU =
{FF D7
00
ACR3x – Reference Manual
Version 1.03
Class
INS
FFh
D7h
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
90 00h
The operation was completed successfully.
63 00h
The operation failed.
05h
05
05
00
00 00 00
01}
05h
05
04}
05h
to value block
05
04 02
03
06}
block
05h
by
5
05
05
01
00 00 00
05}
P1
P2
Source Block
00h
Number
Meaning
06h
Lc
Data In
Target Block
02h
03h
Number
Page 66 of 77
info@acs.com.hk
www.acs.com.hk

Advertisement

Table of Contents
loading

Table of Contents