AnsweredAssumed Answered

Using PN7120 Linux Software Stack linux_libnfc-nci for block level access Mifare Classic and UL tags

Question asked by Toivo Kiisk on Apr 7, 2016
Latest reply on Apr 10, 2016 by Toivo Kiisk

Dear all



I am using OM5577/PN7120S on Raspberry Pi.

It is working great with Raspberry Pi and I can read ID and NDEF info from tag.


But how to authenticate, read and write sectors and blocks Mifare Classic and UL tags?

Hints that this is possible can be found in demo application function "WaitDeviceArrival"


//Cmd Mifare Auth Key A : 0x60U

MifareAuthCmd[12] = {0x60U, block, 0x02, 0x02, 0x02, 0x02, key[0] , key[1] , key[2] , key[3] , key[4] , key[5] };


//Cmd Mifare Read 16 : 0x30U

MifareReadCmd[2] = {0x30U,  block};


These commands are sent using function "nfcTag_transceive"


Is there any documentation describing how to do tags block level access using libnfc-nci?


Thank you.