NEO 2 Interface Developer’s Guide
Copyright © 2019, International Technologies & Systems Corporation. All rights reserved.
311
Debit / Credit Function Block (with Key specified)
Byte
0
Byte
1
Byte
2
Byte
3
Byte
4
Byte
5
Byte
6
Byte
7
Byte
8
Byte
9
Byte
10
Byte
11
Byte
12
Value Block
Number
Command
Length
Amount
Key
Type
Key
0Bh
See Table below
See
Table
See Table
Debit / Credit Function Block (using default Key)
Byte 0
Byte 1
Byte 2 Byte 3 Byte 4 Byte 5
Value Block
Number
Command
Length
Amount
04h
See Table
Mifare ePurse Data Field for Debit/Credit Function Block
Data Field
Length (bytes)
Description
Amount
4
Amount to be added (Debit) or subtracted (Credit) in Little-Endian format.
Mode of operation (+ or - ) is specified by most significant bit of first data
byte in Purse Command (Mode, Card Type and Operation Count)
Key Type
1
Specifies which type of key to use for authentication. It can have the
following values.
01h: Key A 02h: Key B
Key
6
Value of the Key
For details on these fields, refer to the relevant Mifare Specifications.
Backup Function Block (with Key specified)
Byte
0
Byte
1
Byte
2
Byte
3
Byte
4
Byte 5 Byte 6 Byte 7 Byte 8 Byte 9
Backup
Block
Number
Command
Length
Primary
Block
Number
Key Type
Key
See Table
below
08h
See Table below
See Table
below
See Table below
Backup Function Block (using default Key)
Byte 0
Byte 1
Byte 2
Backup Block Number
Command Length
Primary Block
Number
See Table below
01h
See Table below
Mifare ePurse backup commands are distinguished from Debit/Credit operations by the
value in the Command Length field.