ACS ACM1252U-Y3 Reference Manual page 40

Usb nfc reader module
Table of Contents

Advertisement

5.2.4.5.
Value Block Operation (INC, DEC, STORE)
This command is used to manipulate value-based transactions (e.g., increment a value of the value
block).
Value Block Operation APDU Format (10 bytes)
Command
Value Block
Operation
Where:
Block Number
VB_OP
VB_Value
Example 1: Decimal –4 = {FFh, FFh, FFh, FCh}
MSB
FFh
Example 2: Decimal 1 = {00h, 00h, 00h, 01h}
MSB
00h
Value Block Operation Response Format (2 bytes)
Response
Result
Value Block Operation Response Codes
Results
Success
Error
ACM1252U-Y3 – Reference Manual
Version 1.03
Class
INS
P1
FFh
D7h
00h
1 byte. The value block to be manipulated.
1 byte.
00h = Store the VB_Value into the block. The block will then be
converted to a value block.
01h = Increment the value of the value block by the VB_Value. This
command is only valid for value block.
02h = Decrement the value of the value block by the VB_Value. This
command is only valid for value block.
4 bytes. The value used for value manipulation. The value is a signed
long integer (4 bytes).
VB_Value
FFh
FFh
VB_Value
00h
00h
Data Out
SW1
SW2
SW1
SW2
90
00h
63
00h
P2
Lc
Block
05h
VB_OP
Number
LSB
FCh
LSB
01h
Meaning
The operation was completed
successfully.
The operation failed.
Data In
VB_Value
(4 Bytes)
{MSB .. LSB}
Page 40 of 92
www.acs.com
info@acs.com.hk
.hk
www.acs.com.hk

Advertisement

Table of Contents
loading

Table of Contents