Search code examples
androidauthenticationnfcmifare

NFC Android: Decode an Mifare tag written with NXP NFC Writer


i`m messing around with some nfc tags, I have written plain text to them with the application 'TagWriter' made by the company nxp. Is it possible to make an application that can read this plain text? or is this impossible due certain authorizations keys of the nxp app? or has someone done this before?

any suggestion is appreciated


Solution

  • The complete documentation on how NDEF messages are written to and read from MIFARE CLassic tags is publicly available, see http://www.nxp.com/documents/application_note/AN1304.pdf and http://www.nxp.com/documents/application_note/AN1305.pdf. The first document lists the authentication keys that are used on page 11 and 12. For the MAD sectors for key A the value 0xA0A1A2A3A4A5 is used and the NDEF data sectors use for key A the value 0xD3F7D3F7D3F7.