How to read/write Mifare Plus card?



Mifare Plus X Example for Mifare 1K
///////////////////////////////////////////////////////////////////////////////////////
// Read Write Block 1 by PCD Single Command Exchange Protocol 2 command
///////////////////////////////////////////////////////////////////////////////////////

// PT Enable
Tx: 56 69 56 4F 74 65 63 68 32 00 2C 01 00 01 01 1D 19
Rx: 56 69 56 4F 74 65 63 68 32 00 2C 00 00 00 1C 9B

////// Antenna On
Tx: 56 69 56 4F 74 65 63 68 32 00 28 01 00 01 01 94 1F
Rx: 56 69 56 4F 74 65 63 68 32 00 28 00 00 00 D6 6A

////// Poll for Token
Tx: 56 69 56 4F 74 65 63 68 32 00 2C 02 00 02 00 C8 06 6B
Rx: 56 69 56 4F 74 65 63 68 32 00 2C 00 00 08 03 04 7C 52 DA 5D 1E 80 A9 EF

////// PCD Single Command Exchange Protocol2, Load Mifare Key
Tx: 56 69 56 4F 74 65 63 68 32 00 2C 04 00 13 19 00 00 29 86 03 03 0F 0F 0F 0F 0F 0F 0F 0F 0F 0F 0F 0F 63 1A
Rx: 56 69 56 4F 74 65 63 68 32 00 2C 00 00 05 00 00 00 00 00 14 F0

////// PCD Single Command Exchange Protocol2, Mifare Authentication Block 0 Field
Tx: 56 69 56 4F 74 65 63 68 32 00 2C 04 00 0D 0C 00 00 29 86 03 07 60 00 DA 5D 1E 80 62 DC
Rx: 56 69 56 4F 74 65 63 68 32 00 2C 00 00 05 00 00 00 00 00 14 F0

////// PCD Single Command Exchange Protocol2, Read Block 1 Data
Tx: 56 69 56 4F 74 65 63 68 32 00 2C 04 00 09 1E 00 00 29 86 03 0F 30 01 C8 C1
Rx: 56 69 56 4F 74 65 63 68 32 00 2C 00 00 15 00 00 00 00 80 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 33 B3 19

////// PCD Single Command Exchange Protocol2, Write Block 1 Command
Tx: 56 69 56 4F 74 65 63 68 32 00 2C 04 00 09 1E 00 00 29 86 00 07 A0 01 E2 57
Rx: 56 69 56 4F 74 65 63 68 32 00 2C 00 00 06 00 00 00 00 08 0A 52 D4

////// PCD Single Command Exchange Protocol2, Write Block 1 Data
Tx: 56 69 56 4F 74 65 63 68 32 00 2C 04 00 17 1E 00 00 29 86 00 07 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 CE 04
Rx: 56 69 56 4F 74 65 63 68 32 00 2C 00 00 06 00 00 00 00 08 0A 52 D4

////// PCD Single Command Exchange Protocol2, Read Block 1 Data
Tx: 56 69 56 4F 74 65 63 68 32 00 2C 04 00 09 1E 00 00 29 86 03 0F 30 01 C8 C1

Rx: 56 69 56 4F 74 65 63 68 32 00 2C 00 00 15 00 00 00 00 80 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 32 A6 4E