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
Page172
Uniform Industrial Corp. Proprietary and Confidential Total 342 pages
Message P09 MIFARE Ultralight Card Write Page
Format: <STX>P09[page number][page data]<ETX>[LRC]
(request frame)
<STX>P09[Result][Reason]<ETX>[LRC] (response frame)
Message length: Fixed 16 ytes for request frame
Fixed 7 or 8 bytes for response frame.
Usage: Write the data to the specific block.
Message element:
Request frame (HOST to PIN pad)
Field Length
Value and description
<STX> 1 <02>
P09 3 Message ID
[page number] 2 The page number.
Decimal string: 00~47.
[page data] 8 The page data will write to MIFARE
card.
Format: hexadecimal string.
<ETX> 1 <03>
[LRC] 1 Checksum
Response frame (PIN pad to HOST)
Field Length
Value and description
<STX> 1 <02>
P09 3 Message ID
[Result] 1 ‘0’: Success.
‘1’: Fail.
[Reason] 1 Optional: if [Result] = ‘1’
‘1’: Format error.
‘2’: Sequence error.
‘3’: Write data fail.
<ETX> 1 <03>
[LRC] 1 Checksum