User's Manual

PIN Pad 791 Programmer’s Manual (PCI POS-A) UDN PM0103-U Rev. 06
Section 8 – MIFARE card messages 2015-04-20
Page182
Uniform Industrial Corp. Proprietary and Confidential Total 342 pages
Message P14 MIFARE Classic Card Value Operation
Format: <STX>P14[Block number][Op mode][Value][Transfer block]
<ETX>[LRC] (request frame)
<STX>P14[Result][Reason]<ETX>[LRC] (response frame)
Message length: Fixed 13, 18 or 21 bytes for request frame
Fixed 7 or 8 bytes for response frame.
Usage: Value operation with block data.
Message element:
Request frame (HOST to PIN pad)
Field Length
Value and description
<STX> 1 <02>
P14 3 Message ID
[Block number] 3 The block number.
Decimal string: 000~255.
[op mode] 1 Operation mode:
'0' = Create MIFARE Value block.
'1' = Decrement.
'2' = Increment.
'3' = Copy block.
[Value] 8 (Optional), if [op mode] != '3'
Value blocks allow performing electronic purse
functions.
Format: hexadecimal string ( signed integer ).
Ex : 1234567
d
= 00 12 D6 87
[Transfer block] 3 (Optional), if [op mode] != '0'
The block number.
Decimal string: 000~255.
<ETX> 1 <03>
[LRC] 1 Checksum