AET62 Reference Manual
Version 1.0
Page 17 of 37
idvation GmbH
Otto-Hesse-Straße 19 / T5
Phone +49 6151 4923021
D-64293 Darmstadt
Fax +49 6151 3689296
www.idvation.com
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
Results
SW1
SW2
Meaning
Success 90
00
The operation is completed
successfully.
Error
63
00
The operation is failed.
Table 26: Read Value Block Response Codes
6.5.3.
Restore Value Block
The “Restore Value Block command” is used to copy a value from a value block to another value block.
Command
Class INS
P1
P2
Lc
Data In
Value
Block
Operation
FF
D7
00
Source
Block
Number
02
03
Target
Block
Number
Table 27: Restore Value Block APDU Format (7 Bytes)
Source Block Number (1 Byte):
The value of the source value block will be copied to the
target value block.
Target Block Number (1 Byte):
The value block to be restored. The source and target value
blocks must be in the same sector.
Response
Data Out
Result
SW1
SW2
Table 28: Restore Value Block Response Format (2 Bytes)
Results
SW1
SW2
Meaning
Success 90
00
The operation is completed
successfully.
Error
63
00
The operation is failed.
Table 29: Restore Value Block Response Codes