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
Page158
Uniform Industrial Corp. Proprietary and Confidential Total 342 pages
Message P02 Query MIFARE Presence
Format: <STX>P02<ETX>[LRC] (request frame)
<STX>P02[Result][ATQA][Reason]<ETX>[LRC]
(response frame)
Message length: Fixed 6 bytes for request frame
Variable for response frame.
Usage: Send WUPA command to contact less card.
Message element:
Request frame (HOST to PIN pad)
Field Length
Value and description
<STX> 1 <02>
P02 3 Message ID
<ETX> 1 <03>
[LRC] 1 Checksum
Response frame (PIN pad to HOST)
Field Length
Value and description
<STX> 1 <02>
P02 3 Message ID
[Result] 1 ‘0’: Success.
‘1’: Fail.
[ATQA] 4 Optional: if [Result] = ‘0’
ATQA: 4 bytes.
Format: hexadecimal string.
[Reason] 1 Optional: if [Result] = ‘1’
‘1’: Format error.
‘2’: Sequence error.
‘3’: Card not exists.
<ETX> 1 <03>
[LRC] 1 Checksum