Read value block, Table 22, Value block operation response format (2 bytes) – ACS AET62 NFC Reader with Fingerprint Sensor User Manual
Page 17: Table 23, Value block operation response codes, Table 24, Read value block apdu format (5 bytes), Table 25, Read value block response format (4 + 2 bytes)
![background image](/manuals/248158/17/background.png)
0x00
= Store the VB_Value into the block. The block will then be converted to a value
block.
0x01
= Increment the value of the value block by the VB_Value. This command is
only valid for value block.
0x02
= Decrement the value of the value block by the VB_Value. This command is
only valid for value block.
VB_Value (4 Bytes): The value used for value manipulation. The value is a signed long
integer (4 bytes).
Example 1: Decimal –4 = {0xFF, 0xFF, 0xFF, 0xFC}
VB_Value
MSB
LSB
FF FF FF FC
Example 2: Decimal 1 = {0x00, 0x00, 0x00, 0x01}
VB_Value
MSB
LSB
00 00 00 01
Response
Data Out
Result SW1
SW2
Table 22: Value Block Operation Response Format (2 Bytes)
Results
SW1 SW2
Meaning
Success 90 00
The operation completed successfully.
Error 63 00
The operation failed.
Table 23: Value Block Operation Response Codes
6.5.2.
Read Value Block
The “Read Value Block command” is used for retrieving the value from the value block. This
command is only valid for value block.
Command
Class
INS
P1
P2
Le
Read Value Block
FF
B1 00
Block Number
04
Table 24: Read Value Block APDU Format (5 Bytes)
Block Number (1 Byte): The value block to be accessed.
Response
Data Out
Result
Value
{MSB ..
LSB}
SW1 SW2
Table 25: Read Value Block Response Format (4 + 2 Bytes)
Value (4 Bytes): The value returned from the card. The value is a signed long integer (4
bytes).
Example 1: Decimal –4 = {0xFF, 0xFF, 0xFF, 0xFC}
Value
MSB
LSB
FF FF
FF
FC
Example 2: Decimal 1 = {0x00, 0x00, 0x00, 0x01}
Value
MSB
LSB
00 00
00
01
Document Title Here
Document Title Here
Document Title Here
AET62 Reference Manual
Version 1.00
Page 17 of 35
www.acs.com.hk