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
Page188
Uniform Industrial Corp. Proprietary and Confidential Total 342 pages
Message P17 MIFARE DESfire Card Activation
Format: <STX>P17<ETX>[LRC] (request frame)
<STX>P17[Result][ATS/PUPI][Reason]<ETX>[LRC] (response frame)
Message length: Fixed 6 bytes for request frame
Variable for response frame.
Usage: This command will activate PICC card.
Message element:
Request frame (HOST to PIN pad)
Field Length
Value and description
<STX> 1 <02>
P17 3 Message ID
<ETX> 1 <03>
[LRC] 1 Checksum
Response frame (PIN pad to HOST)
Field Length
Value and description
<STX> 1 <02>
P17 3 Message ID
[Result] 1 ‘0’: Success.
‘1’: Fail.
[ATS/PUPI] Var. Optional: if [Result] = ‘0’
[Reason] 1 Optional: if [Result] = ‘1’
‘1’: Format error.
‘2’: Sequence error.
‘3’: Card activate fail.
<ETX> 1 <03>
[LRC] 1 Checksum