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
Page174
Uniform Industrial Corp. Proprietary and Confidential Total 342 pages
Message P10 MIFARE Classic/Ultralight Card Read Block
Format: <STX>P10[Block number]<ETX>[LRC] (request frame)
<STX>P10[Result][Block data][Reason]<ETX>[LRC]
(response frame)
Message length: Fixed 9 bytes for request frame
Fixed 8 or 39 bytes for response frame.
Usage: Read the block data.
Message element:
Request frame (HOST to PIN pad)
Field Length
Value and description
<STX> 1 <02>
P10 3 Message ID
[Block number] 3 The block number.
Decimal string: 000~255.
<ETX> 1 <03>
[LRC] 1 Checksum
Response frame (PIN pad to HOST)
Field Length
Value and description
<STX> 1 <02>
P10 3 Message ID
[Result] 1 ‘0’: Success.
‘1’: Fail.
[Block data] 32. Optional: if [Result] = ‘0’
The block data.
Format: hexadecimal string.
[Reason] 1 Optional: if [Result] = ‘1’
‘1’: Format error.
‘2’: Sequence error.
‘3’: Read data fail.
<ETX> 1 <03>
[LRC] 1 Checksum