Read value block – ACS ACR1283L User Manual

Page 27

Advertising
background image

ACR1283L – Reference Manual

[email protected]

Version 1.00

www.acs.com.hk

Page 27 of 55

integer (4 bytes).


Example 1: Decimal –4 = {0xFFh, 0xFFh, 0xFFh, 0xFCh}

VB_Value

MSB

LSB

FFh

FFh

FFh

FCh


Example 2: Decimal 1 = {0x00h, 0x00h, 0x00h, 0x01h}

VB_Value

MSB

LSB

00h

00h

00h

01h


Value Block Operation Response Format (2 Bytes)

Response

Data Out

Result

SW1

SW2


Value Block Operation Response Codes

Results

SW1 SW2

Meaning

Success

90 00h

The operation is completed successfully.

Error

63 00h

The operation is failed.

5.3.2.2.6. Read Value Block

This command is used for retrieving the value from the value block. It is only valid for value block.

Read Value Block APDU Format (5 Bytes)

Command

Class

INS

P1

P2

Le

Read Value

Block

FFh

B1h

00h

Block

Number

00h

Where:

Block Number (1 Byte): The value block to be accessed.


Read Value Block Response Format (4 + 2 Bytes)

Response

Data Out

Result

Value

{MSB .. LSB}

SW1

SW2

Where:

Value (4 Bytes): The value returned from the card. The value is a signed long integer (4

Advertising