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
Page162
Uniform Industrial Corp. Proprietary and Confidential Total 342 pages
Message P04 MIFARE Selection
Format: <STX>P04<ETX>[LRC] (request frame)
<STX>P04[Result][SAK][Reason]<ETX>[LRC]
(response frame)
Message length: Fixed 6 bytes for request frame
Variable for response frame.
Usage: Select one card to activate.
Message element:
Request frame (HOST to PIN pad)
Field Length
Value and description
<STX> 1 <02>
P04 3 Message ID
<ETX> 1 <03>
[LRC] 1 Checksum
Response frame (PIN pad to HOST)
Field Length
Value and description
<STX> 1 <02>
P04 3 Message ID
[Result] 1 ‘0’: Success.
‘1’: Fail.
[SAK] 2 Optional: if [Result] = ‘0’
The response of select command.
Format: hexadecimal string.
[Reason] 1 Optional: if [Result] = ‘1’
‘1’: Format error.
‘2’: Sequence error.
‘3’: Select fail.
<ETX> 1 <03>
[LRC] 1 Checksum